package com.ruoyi.wgz.bo.res;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;

@Data
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel("申请工资结算（新增）返回对象")
public class WgzApplyForPayrollSettlementAddRes implements Serializable {
	@ApiModelProperty("主键ID")
	private Long id;

	@ApiModelProperty("项目ID")
	private Long projectId;

	//==============
	@ApiModelProperty("封面图（多个逗号分隔）")
	private String coverPlan;

	@ApiModelProperty("创建时间")
	private LocalDateTime createTime;

	@ApiModelProperty("招工名称")
	private String recruitName;

	@ApiModelProperty("招工金额")
	private BigDecimal recruitAmount;

	@ApiModelProperty("招工数量")
	private Integer recruitStaffNum;

	@ApiModelProperty("任务ID")
	private Long taskId;

	@ApiModelProperty("任务名称")
	private String taskName;

	@ApiModelProperty("任务地址")
	private String taskAddress;

	@ApiModelProperty("招工描述")
	private String subDescribe;

	@ApiModelProperty("招工开始时间")
	private String recruitBeginTime;

	@ApiModelProperty("联系人")
	private String recruitContactPerson;

	@ApiModelProperty("联系电话")
	private String recruitContactPhone;

	@ApiModelProperty("备注")
	private String remark;

	@ApiModelProperty("招工要求")
	private String recruitRequirement;

	//---------
	//---------
	//---------
	@ApiModelProperty("上班时间")
	private LocalTime beginWorkTime;

	@ApiModelProperty("下班时间")
	private LocalTime endWorkTime;

	@ApiModelProperty("标段ID")
	private Long sectionId;

	@ApiModelProperty("分包ID")
	private Long subId;

	@ApiModelProperty("招工地址")
	private String recruitAddress;

	//---------
	//---------
	//---------

	@ApiModelProperty("进场时间")
	private LocalDate entryTime;

	@ApiModelProperty("离场时间")
	private LocalDate leaveTime;

	@ApiModelProperty("单天金额")
	private BigDecimal amount;

	@ApiModelProperty("出勤天数")
	private Integer num;

	@ApiModelProperty("总的金额")
	private BigDecimal TotalAmount;

	//---------
	//---------
	//---------

	@ApiModelProperty("申请金额")
	private BigDecimal appliedAmount;

	@ApiModelProperty("申请人名称")
	private String nameOfApplicant;

	@ApiModelProperty("百分比")
	private Double percentage;
}
