package com.chinaweal.aiccs.aiccs.abnormal.entity.dto;

import com.chinaweal.aiccs.aiccs.abnormal.entity.TSBizSpeList;
import com.chinaweal.aiccs.aiccs.auditing.entity.TSOpinion;
import com.chinaweal.aiccs.aiccs.revoke.entity.TsCase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author Lee
 * @since 2022-03-15 16:38
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "经营异常列异流程模型")
public class AbnProcessDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 业务主键
     */
    @ApiModelProperty(value = "待办主键")
    @NotBlank(message = "待办主键不能为空！")
    private String tasklistid;

    /**
     * 业务主键
     */
    @ApiModelProperty(value = "业务主键")
    @NotBlank(message = "业务主键不能为空！")
    private String bizseq;

    /**
     * 下一流程节点
     */
    @ApiModelProperty(value = "下一流程节点")
    @NotBlank(message = "下一流程节点类型不能为空！")
    private String nextNodeID;

    /**
     * 意见
     */
    @ApiModelProperty(value = "意见")
    @Valid
    private TSOpinion opinion;

    /**
     * 下一步处理人id数组
     */
    @ApiModelProperty(value = "下一步处理人ids")
    private String[] nextPerformerIds;

    /**
     * 下一步处理人姓名数组
     */
    @ApiModelProperty(value = "下一步处理人姓名数组")
    private String[] nextPerformerNames;

    /**
     * 列异信息
     */
    @ApiModelProperty(value = "列异信息")
    @Valid
    private TSBizSpeList tsBizSpeListModel;
}
