提交 | 用户 | 时间
|
bb2880
|
1 |
package com.iailab.module.bpm.controller.admin.task.vo.instance; |
H |
2 |
|
|
3 |
import com.iailab.module.bpm.controller.admin.definition.vo.model.simple.BpmSimpleModelNodeVO; |
|
4 |
import com.iailab.module.bpm.controller.admin.task.vo.task.BpmTaskRespVO; |
|
5 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
6 |
import lombok.Data; |
|
7 |
|
|
8 |
import java.util.List; |
|
9 |
import java.util.Set; |
|
10 |
|
|
11 |
@Schema(description = "管理后台 - 流程示例的 BPMN 视图 Response VO") |
|
12 |
@Data |
|
13 |
public class BpmProcessInstanceBpmnModelViewRespVO { |
|
14 |
|
|
15 |
// ========== 基本信息 ========== |
|
16 |
|
|
17 |
@Schema(description = "流程实例信息", requiredMode = Schema.RequiredMode.REQUIRED) |
|
18 |
private BpmProcessInstanceRespVO processInstance; |
|
19 |
|
|
20 |
@Schema(description = "任务列表", requiredMode = Schema.RequiredMode.REQUIRED) |
|
21 |
private List<BpmTaskRespVO> tasks; |
|
22 |
|
|
23 |
@Schema(description = "BPMN XML", requiredMode = Schema.RequiredMode.REQUIRED) |
|
24 |
private String bpmnXml; |
|
25 |
|
|
26 |
@Schema(description = "SIMPLE 模型") |
|
27 |
private BpmSimpleModelNodeVO simpleModel; |
|
28 |
|
|
29 |
// ========== 进度信息 ========== |
|
30 |
|
|
31 |
@Schema(description = "进行中的活动节点编号集合", requiredMode = Schema.RequiredMode.REQUIRED) |
|
32 |
private Set<String> unfinishedTaskActivityIds; // 只包括 UserTask |
|
33 |
|
|
34 |
@Schema(description = "已经完成的活动节点编号集合", requiredMode = Schema.RequiredMode.REQUIRED) |
|
35 |
private Set<String> finishedTaskActivityIds; // 包括 UserTask、Gateway 等,不包括 SequenceFlow |
|
36 |
|
|
37 |
@Schema(description = "已经完成的连线节点编号集合", requiredMode = Schema.RequiredMode.REQUIRED) |
|
38 |
private Set<String> finishedSequenceFlowActivityIds; // 只包括 SequenceFlow |
|
39 |
|
|
40 |
@Schema(description = "已经拒绝的活动节点编号集合", requiredMode = Schema.RequiredMode.REQUIRED) |
|
41 |
private Set<String> rejectedTaskActivityIds; // 只包括 UserTask |
|
42 |
|
|
43 |
} |