package com.chinaweal.aiccs.aiccs.fraudreg.dto;

import com.chinaweal.aiccs.aiccs.auditing.entity.TSOpinion;
import com.chinaweal.aiccs.aiccs.fraudreg.entity.RevokeFraudBatch;
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;

@Data
@Accessors(chain = true)
@ApiModel(value = "批量撤销案件流程模型")
public class RevokeFraudBatchDto implements Serializable {
    /**
     * 业务主键
     */
    @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 RevokeFraudBatch revokeFraudBatch;
}
