package com.yuchen.saas.integration.feign.api.dto.req;

import com.yuchen.saas.integration.feign.api.entity.ActFormData;
import com.yuchen.saas.integration.feign.api.entity.ActProcessNode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;


@Data
@ApiModel(value = "流程节点数据", description = "流程节点数据")
public class ActApprovalNodeReqDTO {

    /**
     * 审批流程id
     */
    @ApiModelProperty(value = "审批流程id")
    @NotNull(message = "请选择流程")
    private Long approvalId;

    @ApiModelProperty(value = "节点信息数据")
    @NotNull(message = "节点信息数据不能为空，请加入节点")
    private List<ActProcessNode> nodeList;

    @ApiModelProperty(value = "节点表单数据")
    private ActFormData actFormData;



}
