package com.sckw.mine.entity.req;

import com.sckw.mine.entity.dto.WorkFlowNodeDTO;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

/**
 * @desc: 流程新增
 * @author: Lt
 * @date: 2024-05-31
 */
@Data
public class WorkFlowInsertParam {

    @NotBlank(message = "流程名称")
    private String workName;

    @NotNull(message = "流程类型不能为空")
    private Integer workType;

    private String remark;

    @NotEmpty(message = "流程节点不能为空")
    private List<WorkFlowNodeDTO> workFlowNode;

}
