提交 | 用户 | 时间
|
bb2880
|
1 |
package com.iailab.module.bpm.controller.admin.definition.vo.model; |
H |
2 |
|
f4f940
|
3 |
import com.iailab.module.bpm.controller.admin.definition.vo.model.simple.BpmSimpleModelNodeVO; |
bb2880
|
4 |
import io.swagger.v3.oas.annotations.media.Schema; |
H |
5 |
import lombok.Data; |
|
6 |
|
f4f940
|
7 |
import javax.validation.Valid; |
bb2880
|
8 |
import javax.validation.constraints.NotEmpty; |
H |
9 |
|
|
10 |
@Schema(description = "管理后台 - 流程模型的保存 Request VO") |
|
11 |
@Data |
|
12 |
public class BpmModelSaveReqVO extends BpmModelMetaInfoVO { |
|
13 |
|
|
14 |
@Schema(description = "编号", example = "1024") |
|
15 |
private String id; |
|
16 |
|
|
17 |
@Schema(description = "流程标识", requiredMode = Schema.RequiredMode.REQUIRED, example = "process_yudao") |
|
18 |
@NotEmpty(message = "流程标识不能为空") |
|
19 |
private String key; |
|
20 |
|
|
21 |
@Schema(description = "流程名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道") |
|
22 |
@NotEmpty(message = "流程名称不能为空") |
|
23 |
private String name; |
|
24 |
|
|
25 |
@Schema(description = "流程分类", example = "1") |
|
26 |
private String category; |
|
27 |
|
f4f940
|
28 |
@Schema(description = "BPMN XML") |
H |
29 |
private String bpmnXml; |
|
30 |
|
|
31 |
@Schema(description = "仿钉钉流程设计模型对象") |
|
32 |
@Valid |
|
33 |
private BpmSimpleModelNodeVO simpleModel; |
|
34 |
|
bb2880
|
35 |
} |