package cn.fateverse.workflow.entity.dto;

import com.alibaba.fastjson2.JSONObject;
import lombok.Data;

import javax.validation.constraints.NotNull;


/**
 * 流程启动接受对象
 *
 * @author Clay
 * @date 2022/12/24
 */
@Data
public class ProcessInstanceDto {
    //@NotNull(message = "key不能为空")
    //private String processDefinitionKey;
    @NotNull(message = "id不能为空")
    private String processDefinitionId;
    @NotNull(message = "表单数据不能为空")
    private String formData;
    //@NotNull(message = "用户自选的userMap信息")
    private JSONObject optionalUser;
}
