package com.xdap.self_development.controller.form;

import com.xdap.self_development.domain.dto.ApprovalNodeDTO;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

@Data
public class UpdateNodeForm {
    private String title;
    @NotBlank(message = "用户不能为空")
    private String userId;
    @NotBlank(message = "流程不能为空")
    private String flowId;
    // 审批环节配置列表
    @NotEmpty(message = "环节不能为空")
    private List<ApprovalNodeDTO> nodeList;
}
