package jnpf.entity.workflow;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import jnpf.base.entity.SuperBaseEntity;
import lombok.*;

import java.io.Serializable;
import java.util.Date;
import java.util.Date;

/**
 * 流程表单 [出勤变更] 
 * @author yanwenfu 
 * @create 2023-12-11 
 */

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

	private static final long serialVersionUID =  8981456888398341196L;

	/** 审批人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_ChangeUserId")
	private String changeUserId;

	/** 变更人员名称 */
   	@TableField(value = "F_ChangeUserName")
	private String changeUserName;

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

	/** 变更时间(yyyy-MM-dd) */
   	@TableField(value = "F_ChangeTime")
	private Date changeTime;

	/** 上班时间 */
   	@TableField(value = "F_OnWorkTime")
	private Date onWorkTime;

	/** 下班时间 */
   	@TableField(value = "F_OffWorkTime")
	private Date offWorkTime;

	/** 变更类型(-1: 缺卡, 1: 正常, 2: 迟到, 3: 早退) */
   	@TableField(value = "F_ChangeType")
	private Integer changeType;

	/** 变更分钟数 */
   	@TableField(value = "F_ChangeMinute")
	private Integer changeMinute;

	/** 变更理由 */
   	@TableField(value = "F_ChangeReason")
	private String changeReason;

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

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