package com.zd.chemical.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zd.chemical.domain.ActApplytaskNode;
import com.zd.common.core.annotation.Excel;
import com.zd.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 工作流审批配置 act_auditconfig
 *
 * @author cyl
 * @date 2022-08-16
 */
@ApiModel("工作流审批配置")
@Data
public class ActAuditconfigInfoVo
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    @ApiModelProperty(value = "${comment}")
    private Long id;
    /** 审批类型（1是依次审批，2是或签） */
    @Excel(name = "审批类型", readConverterExp = "1=是依次审批，2是或签")
    @ApiModelProperty(value = "审批类型")
    private Integer auditType;

    /** task审批状态(1 是通过，2是拒绝，0是待审核) */
    @ApiModelProperty(value = "审批类型")
    private Integer applyTaskStatus;

    /** 获取环节审批的最后一个人审批的时间  */
    @ApiModelProperty(value = "审批时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date applyTaskTime;

    /** 审批拒绝原因 */
    @ApiModelProperty(value = "审批拒绝原因")
    private String refuseContent;

    /** 审批节点 */
    @ApiModelProperty(value = "审批节点")
    List <ActApplytaskNodeVo> actApplytaskNodeList = new ArrayList <>();

}
