提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.bpm.controller.admin.definition.vo.form; |
H |
2 |
|
|
3 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
4 |
import lombok.Data; |
|
5 |
|
|
6 |
import javax.validation.constraints.NotNull; |
|
7 |
import java.util.List; |
|
8 |
|
|
9 |
@Schema(description = "管理后台 - 动态表单创建/更新 Request VO") |
|
10 |
@Data |
|
11 |
public class BpmFormSaveReqVO { |
|
12 |
|
|
13 |
@Schema(description = "表单编号", example = "1024") |
|
14 |
private Long id; |
|
15 |
|
|
16 |
@Schema(description = "表单名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "平台") |
|
17 |
@NotNull(message = "表单名称不能为空") |
|
18 |
private String name; |
|
19 |
|
|
20 |
@Schema(description = "表单的配置-JSON 字符串", requiredMode = Schema.RequiredMode.REQUIRED) |
|
21 |
@NotNull(message = "表单的配置不能为空") |
|
22 |
private String conf; |
|
23 |
|
|
24 |
@Schema(description = "表单项的数组-JSON 字符串的数组", requiredMode = Schema.RequiredMode.REQUIRED) |
|
25 |
@NotNull(message = "表单项的数组不能为空") |
|
26 |
private List<String> fields; |
|
27 |
|
|
28 |
@Schema(description = "表单状态-参见 CommonStatusEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
|
29 |
@NotNull(message = "表单状态不能为空") |
|
30 |
private Integer status; |
|
31 |
|
|
32 |
@Schema(description = "备注", example = "我是备注") |
|
33 |
private String remark; |
|
34 |
|
|
35 |
} |