package com.njcn.bpm.pojo.param.instance;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

@Schema(description = "管理后台 - 流程实例的创建 Request VO")
@Data
public class BpmProcessInstanceCreateParam {

    @NotEmpty(message = "流程定义编号不能为空")
    @ApiModelProperty("流程定义的编号")
    private String processDefinitionId;

    @Schema(description = "变量实例（动态表单）")
    @ApiModelProperty("变量实例（动态表单）")
    private Map<String, Object> variables;

    @ApiModelProperty("发起人自选审批人 Map")
    private Map<String, List<Long>> startUserSelectAssignees;

}
