提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.bpm.controller.admin.definition.vo.model; |
H |
2 |
|
|
3 |
import com.iailab.module.bpm.controller.admin.definition.vo.process.BpmProcessDefinitionRespVO; |
|
4 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
5 |
import lombok.Data; |
|
6 |
|
|
7 |
import java.time.LocalDateTime; |
|
8 |
|
|
9 |
@Schema(description = "管理后台 - 流程模型 Response VO") |
|
10 |
@Data |
|
11 |
public class BpmModelRespVO { |
|
12 |
|
|
13 |
@Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
14 |
private String id; |
|
15 |
|
|
16 |
@Schema(description = "流程标识", requiredMode = Schema.RequiredMode.REQUIRED, example = "process_iailab") |
|
17 |
private String key; |
|
18 |
|
|
19 |
@Schema(description = "流程名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "平台") |
|
20 |
private String name; |
|
21 |
|
|
22 |
@Schema(description = "流程图标", example = "https://www.baidu.com/iailab.jpg") |
|
23 |
private String icon; |
|
24 |
|
|
25 |
@Schema(description = "流程描述", example = "我是描述") |
|
26 |
private String description; |
|
27 |
|
|
28 |
@Schema(description = "流程分类编码", example = "1") |
|
29 |
private String category; |
|
30 |
@Schema(description = "流程分类名字", example = "请假") |
|
31 |
private String categoryName; |
|
32 |
|
|
33 |
@Schema(description = "表单类型-参见 bpm_model_form_type 数据字典", example = "1") |
|
34 |
private Integer formType; |
|
35 |
|
|
36 |
@Schema(description = "表单编号", example = "1024") |
|
37 |
private Long formId; // 在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空 |
|
38 |
@Schema(description = "表单名字", example = "请假表单") |
|
39 |
private String formName; |
|
40 |
|
|
41 |
@Schema(description = "自定义表单的提交路径", example = "/bpm/oa/leave/create") |
|
42 |
private String formCustomCreatePath; // 使用 Vue 的路由地址-在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空 |
|
43 |
@Schema(description = "自定义表单的查看路径", example = "/bpm/oa/leave/view") |
|
44 |
private String formCustomViewPath; // ,使用 Vue 的路由地址-在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空 |
|
45 |
|
|
46 |
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) |
|
47 |
private LocalDateTime createTime; |
|
48 |
|
|
49 |
@Schema(description = "BPMN XML", requiredMode = Schema.RequiredMode.REQUIRED) |
|
50 |
private String bpmnXml; |
|
51 |
|
|
52 |
/** |
|
53 |
* 最新部署的流程定义 |
|
54 |
*/ |
|
55 |
private BpmProcessDefinitionRespVO processDefinition; |
|
56 |
|
|
57 |
} |