package jnpf.model.attendance.vo;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.Date;

/**
 * 日常审批
 *
 * @author yanwenfu
 * @create 2024-06-25
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class DailyApprovalVo {

    private String id;

    private String taskId;

    private String flowId;

    private String enCode;
    /** 审批名称 */
    private String approvalName;
    /** 申请时间 */
    private String applyTime;
    /** 提交时间 */
    private Date submitTime;
    /** 审核时间 */
    private Date approvalTime;
    /** 最终审批人id */
    private String lastApprovalUserId;
    /** 最终审批人名称 */
    private String lastApprovalUserName;
    /** 最终结果 */
    private String lastResult;

    private String reason;

    public DailyApprovalVo(String taskId, String flowId, String approvalName, String applyTime, Date submitTime, Date approvalTime, String lastApprovalUserId, String lastApprovalUserName, String lastResult) {
        this.taskId = taskId;
        this.flowId = flowId;
        this.approvalName = approvalName;
        this.applyTime = applyTime;
        this.submitTime = submitTime;
        this.approvalTime = approvalTime;
        this.lastApprovalUserId = lastApprovalUserId;
        this.lastApprovalUserName = lastApprovalUserName;
        this.lastResult = lastResult;
    }
}
