baoshiwei
2025-03-12 f1208474f771a1c233d7425c8ed13fbaa0d521ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
package org.dromara.workflow.domain.vo;
 
import lombok.Data;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import org.dromara.workflow.common.constant.FlowConstant;
 
import java.util.Date;
 
/**
 * 流程实例视图
 *
 * @author may
 */
@Data
public class FlowInstanceVo {
 
    private Long id;
 
    /**
     * 创建时间
     */
    private Date createTime;
 
    /**
     * 更新时间
     */
    private Date updateTime;
 
    /**
     * 租户ID
     */
    private String tenantId;
 
    /**
     * 删除标记
     */
    private String delFlag;
 
    /**
     * 对应flow_definition表的id
     */
    private Long definitionId;
 
    /**
     * 流程定义名称
     */
    private String flowName;
 
    /**
     * 流程定义编码
     */
    private String flowCode;
 
    /**
     * 业务id
     */
    private String businessId;
 
    /**
     * 节点类型(0开始节点 1中间节点 2结束节点 3互斥网关 4并行网关)
     */
    private Integer nodeType;
 
    /**
     * 流程节点编码   每个流程的nodeCode是唯一的,即definitionId+nodeCode唯一,在数据库层面做了控制
     */
    private String nodeCode;
 
    /**
     * 流程节点名称
     */
    private String nodeName;
 
    /**
     * 流程变量
     */
    private String variable;
 
    /**
     * 流程状态(0待提交 1审批中 2 审批通过 3自动通过 8已完成 9已退回 10失效)
     */
    private String flowStatus;
 
    /**
     * 流程状态
     */
    private String flowStatusName;
 
    /**
     * 流程激活状态(0挂起 1激活)
     */
    private Integer activityStatus;
 
    /**
     * 审批表单是否自定义(Y是 N否)
     */
    private String formCustom;
 
    /**
     * 审批表单路径
     */
    private String formPath;
 
    /**
     * 扩展字段,预留给业务系统使用
     */
    private String ext;
 
    /**
     * 流程定义版本
     */
    private String version;
 
    /**
     * 创建者
     */
    private String createBy;
 
    /**
     * 申请人
     */
    @Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "createBy")
    private String createByName;
 
    /**
     * 流程分类id
     */
    private String category;
 
    /**
     * 流程分类名称
     */
    @Translation(type = FlowConstant.CATEGORY_ID_TO_NAME, mapper = "category")
    private String categoryName;
 
}