package com.ruoyi.bgt.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDate;

@Data
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel("总体考勤情况-工资结算-基础信息")
public class BgtPayCalculationDetailBaseVO {

	@ApiModelProperty("姓名")
	private String username;

	@ApiModelProperty("评分")
	private Double score;

	@ApiModelProperty("头像")
	private String avatarName;

	@ApiModelProperty("招工主题")
	private String recruitName;

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

	@ApiModelProperty("进场时间")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private LocalDate entryTime;

	@ApiModelProperty("总工资")
	private BigDecimal allAmount;

	@ApiModelProperty("已付工资")
	private BigDecimal payAmount;

	@ApiModelProperty("剩余工资")
	private BigDecimal residueAmount;
}
