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

import com.chinaweal.aiccs.aiccs.business.entity.XrOpinion;
import com.chinaweal.aiccs.aiccs.business.entity.dto.BaseParamDto;
import com.chinaweal.aiccs.aiccs.seriousillegal.entity.RpeiExeInfoTask;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

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

/**
 * 重整计划或者和解协议执行流程参数体
 *
 * @author zhouxy
 * @since 2025/12/25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("重整计划或者和解协议执行流程参数体")
public class RpeiExeInfoTaskSaveDto extends BaseParamDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "重整计划或者和解协议执行流程表")
    private RpeiExeInfoTask rpeiExeInfoTask;

    @ApiModelProperty("查询业务号")
    private String bizSeqNo;

    @ApiModelProperty(value = "待办主键")
    private String taskLikeId;

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

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

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

    /**
     * 下一步处理人机构
     */
    @ApiModelProperty(value = "下一步处理人机构")
    private String nextOrgID;

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

    /**
     * 当前流程节点
     */
    @ApiModelProperty(value = "当前流程节点")
    private String currentNodeID;

}
