package com.ruoyi.wgz.bo.res;

import com.ruoyi.common.annotation.Excel;
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.time.LocalDateTime;


@Data
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel("补卡申请历史记录返回对象")
public class WgzReplacementCardRecordRes implements Serializable {

	@ApiModelProperty("主键ID")
	private Long id;

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

	@ApiModelProperty("申请人ID")
	private Long userId;

	@ApiModelProperty("申请人姓名")
	private String userName;

	@ApiModelProperty("打卡ID")
	private Long attendanceId;

	@ApiModelProperty("状态（0上班补卡 1下班补卡）")
	private String type;

	@ApiModelProperty("项目名称")
	private String recruitName;

	@ApiModelProperty("原打卡时间")
	private String rawTime;

	@ApiModelProperty("现补卡时间")
	private LocalDateTime nowTime;

	@ApiModelProperty("补卡理由")
	private String reason;

	@ApiModelProperty("审核人ID")
	private Long auditorUserId;

	@ApiModelProperty("审核人头像")
	private String auditorHead;

	@ApiModelProperty("审核人名称")
	private String auditorname;

	@ApiModelProperty("审核状态（0待审核 1审核中 2已同意 3已拒绝）")
	private String auditorType;

	@ApiModelProperty("审核意见")
	private String auditorOpinion;

	/** 同意|拒绝时间 */
	@Excel(name = "同意|拒绝时间" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty("同意|拒绝时间")
	private LocalDateTime auditorTime;


	@ApiModelProperty("创建时间|申请时间")
	private LocalDateTime createTime;
}
