提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.bpm.controller.admin.definition.vo.listener; |
H |
2 |
|
|
3 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
4 |
import lombok.Data; |
|
5 |
|
|
6 |
import javax.validation.constraints.NotEmpty; |
|
7 |
import javax.validation.constraints.NotNull; |
|
8 |
|
|
9 |
@Schema(description = "管理后台 - BPM 流程监听器新增/修改 Request VO") |
|
10 |
@Data |
|
11 |
public class BpmProcessListenerSaveReqVO { |
|
12 |
|
|
13 |
@Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "13089") |
|
14 |
private Long id; |
|
15 |
|
|
16 |
@Schema(description = "监听器名字", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六") |
|
17 |
@NotEmpty(message = "监听器名字不能为空") |
|
18 |
private String name; |
|
19 |
|
|
20 |
@Schema(description = "监听器类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "execution") |
|
21 |
@NotEmpty(message = "监听器类型不能为空") |
|
22 |
private String type; |
|
23 |
|
|
24 |
@Schema(description = "监听器状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
|
25 |
@NotNull(message = "监听器状态不能为空") |
|
26 |
private Integer status; |
|
27 |
|
|
28 |
@Schema(description = "监听事件", requiredMode = Schema.RequiredMode.REQUIRED, example = "start") |
|
29 |
@NotEmpty(message = "监听事件不能为空") |
|
30 |
private String event; |
|
31 |
|
|
32 |
@Schema(description = "监听器值类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "class") |
|
33 |
@NotEmpty(message = "监听器值类型不能为空") |
|
34 |
private String valueType; |
|
35 |
|
|
36 |
@Schema(description = "监听器值", requiredMode = Schema.RequiredMode.REQUIRED) |
|
37 |
@NotEmpty(message = "监听器值不能为空") |
|
38 |
private String value; |
|
39 |
|
|
40 |
} |