package com.hzs.system.sys.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.hzs.common.core.annotation.Excel;
import com.hzs.common.core.annotation.Transaction;
import com.hzs.common.core.constant.EnumsPrefixConstants;
import lombok.Data;

import java.util.Date;

/**
 * @Description: 审批VO
 * @Author: jiang chao
 * @Time: 2022/11/10 11:43
 * @Classname: ApprovalVO
 * @PackageName: com.hzs.system.sys.vo
 */
@Data
public class ApprovalVO {

    /**
     * 审批ID
     */
    private Integer pkId;

    /**
     * 业务类型（EApprovalBusiness）
     */
    @Transaction(transactionKey = EnumsPrefixConstants.APPROVAL_BUSINESS)
    @JsonIgnore
    private Integer approvalBusiness;
    /**
     * 业务类型显示
     */
    @Excel(name = "业务类型")
    private String approvalBusinessVal;

    /**
     * 审批流程
     */
    @Excel(name = "审批流程")
    private String process;

    /**
     * 抄送人
     */
    @Excel(name = "抄送人")
    private String send;

    /**
     * 生效日期
     */
    @Excel(name = "生效日期", dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date effectiveDate;

}
