package jnpf.entity.workflow;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import jnpf.base.entity.SuperBaseEntity;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.Date;
import java.util.Date;

/**
 * 流程表单 [补卡] 
 * @author yanwenfu 
 * @create 2023-12-13 
 */

@Getter
@Setter
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName ( value ="ftb_apply_attendance_repair" )
public class ApplyAttendanceRepair extends SuperBaseEntity.SuperCUDBaseEntity<String> implements Serializable {

	private static final long serialVersionUID =  8989078095172234495L;

	/** 审批人id */
	@TableField(value = "F_ApproveUserId")
	private String approveUserId;

	/** 审批人名称 */
	@TableField(value = "F_ApproveUserName")
	private String approveUserName;

	/** 审批时间 */
	@TableField(value = "F_ApproveTime")
	private Date approveTime;

	/** 是否审核通过(0: 待审核, 1: 通过, 2: 未通过, 3: 撤回) */
	@TableField(value = "F_Status")
	private Integer status;

	/** 流程主键 */
   	@TableField(value = "F_FlowId")
	private String flowId;

	/** 流程标题 */
   	@TableField(value = "F_FlowTitle")
	private String flowTitle;

	/** 申请人员 */
   	@TableField(value = "F_ApplyUser")
	private String applyUser;

	/** 申请日期 */
   	@TableField(value = "F_ApplyDate")
	private Date applyDate;

	/** 打卡结果id */
   	@TableField(value = "F_ClockInResultId")
	private String clockInResultId;

	/** 补卡日期(yyyy-MM-dd) */
	@TableField(value = "F_RepairDateStr")
	private String repairDateStr;

	/** 补卡时间(HH:mm) */
	@TableField(value = "F_RepairTimeStr")
	private String repairTimeStr;

	/** 补卡理由原因 */
   	@TableField(value = "F_Reason")
	private String reason;

	/** 照片 */
   	@TableField(value = "F_FileJson")
	private String fileJson;

	/** 表单类型 */
	@TableField(value = "F_FormType")
	private Integer formType;

	/** 打卡状态(-1: 缺卡, 1: 正常, 2: 迟到, 3: 早退) */
	@TableField(exist = false)
	private Integer clockInStatus;

	/** 是否旷工(1: 是, 0: 否) */
	@TableField(exist = false)
	private Integer absence;
}
