提交 | 用户 | 时间
|
bb2880
|
1 |
package com.iailab.module.bpm.controller.admin.definition.vo.model.simple; |
H |
2 |
|
|
3 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
4 |
import lombok.Data; |
|
5 |
|
|
6 |
import javax.validation.Valid; |
|
7 |
import javax.validation.constraints.NotEmpty; |
|
8 |
import javax.validation.constraints.NotNull; |
|
9 |
|
|
10 |
// TODO @jason:需要考虑,如果某个节点的配置不正确,需要有提示;具体怎么实现,可以讨论下; |
|
11 |
@Schema(description = "管理后台 - 仿钉钉流程设计模型的新增/修改 Request VO") |
|
12 |
@Data |
|
13 |
public class BpmSimpleModelUpdateReqVO { |
|
14 |
|
|
15 |
@Schema(description = "流程模型编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
|
16 |
@NotEmpty(message = "流程模型编号不能为空") |
|
17 |
private String id; // 对应 Flowable act_re_model 表 ID_ 字段 |
|
18 |
|
|
19 |
@Schema(description = "仿钉钉流程设计模型对象", requiredMode = Schema.RequiredMode.REQUIRED) |
|
20 |
@NotNull(message = "仿钉钉流程设计模型对象不能为空") |
|
21 |
@Valid |
|
22 |
private BpmSimpleModelNodeVO simpleModel; |
|
23 |
|
|
24 |
} |