package com.hzs.system.sys.dto;

import com.hzs.common.core.enums.EApprovalBusiness;
import com.hzs.common.core.enums.EApproveStatus;
import com.hzs.common.domain.system.sys.SysUser;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

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

/**
 * Description: 业务审批操作DTO
 * Author: jiang chao
 * Time: 2022/9/24 16:49
 * Classname: ApprovalBusiness
 * PackageName: com.hzs.system.sys.dto
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
public class ApprovalBusinessResultDTO implements Serializable {

    private static final long serialVersionUID = -4249221742425776022L;

    /**
     * 审批单号
     */
    private String approvalCode;

    /**
     * 审批业务类型
     */
    private EApprovalBusiness eApprovalBusiness;

    /**
     * 业务单号
     */
    private String businessCode;

    /**
     * 业务数据
     */
    private String businessData;

    /**
     * 审批状态枚举类
     */
    private EApproveStatus eApproveStatus;

    /**
     * 审批用户
     */
    private SysUser sysUser;

    /**
     * 当前登录用户
     */
    private LoginUser loginUser;

    /**
     * 当前操作时间
     */
    private Date operationTime;

    /**
     * 通过/驳回（EApproveOperation）
     */
    private Integer approveOperation;

    /**
     * 审批意见
     */
    private String approveRemark;

    /**
     * 签呈来源（1=后台，2=前台）
     */
    private Integer signSource;

}
