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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
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.warm.flow.core.entity.User;
import org.dromara.workflow.common.constant.FlowConstant;
 
import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
 
/**
 * 任务视图
 *
 * @author may
 */
@Data
public class FlowTaskVo implements Serializable {
 
    @Serial
    private static final long serialVersionUID = 1L;
 
    private Long id;
 
    /**
     * 创建时间
     */
    private Date createTime;
 
    /**
     * 更新时间
     */
    private Date updateTime;
 
    /**
     * 租户ID
     */
    private String tenantId;
 
    /**
     * 删除标记
     */
    private String delFlag;
 
    /**
     * 对应flow_definition表的id
     */
    private Long definitionId;
 
    /**
     * 流程实例表id
     */
    private Long instanceId;
 
    /**
     * 流程定义名称
     */
    private String flowName;
 
    /**
     * 业务id
     */
    private String businessId;
 
    /**
     * 节点编码
     */
    private String nodeCode;
 
    /**
     * 节点名称
     */
    private String nodeName;
 
    /**
     * 节点类型(0开始节点 1中间节点 2结束节点 3互斥网关 4并行网关)
     */
    private Integer nodeType;
 
    /**
     * 权限标识 permissionFlag的list形式
     */
    private List<String> permissionList;
 
    /**
     * 流程用户列表
     */
    private List<User> userList;
 
    /**
     * 审批表单是否自定义(Y是 N否)
     */
    private String formCustom;
 
    /**
     * 审批表单
     */
    private String formPath;
 
    /**
     * 流程定义编码
     */
    private String flowCode;
 
    /**
     * 流程版本号
     */
    private String version;
 
    /**
     * 流程状态
     */
    private String flowStatus;
 
    /**
     * 流程分类id
     */
    private String category;
 
    /**
     * 流程分类名称
     */
    @Translation(type = FlowConstant.CATEGORY_ID_TO_NAME, mapper = "category")
    private String categoryName;
 
    /**
     * 流程状态
     */
    @Translation(type = TransConstant.DICT_TYPE_TO_LABEL, mapper = "flowStatus", other = "wf_business_status")
    private String flowStatusName;
 
    /**
     * 办理人类型
     */
    private String type;
 
    /**
     * 办理人ids
     */
    private String assigneeIds;
 
    /**
     * 办理人名称
     */
    private String assigneeNames;
 
    /**
     * 抄送人id
     */
    private String processedBy;
 
    /**
     * 抄送人名称
     */
    @Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "processedBy")
    private String processedByName;
 
    /**
     * 流程签署比例值 大于0为票签,会签
     */
    private BigDecimal nodeRatio;
 
    /**
     * 申请人id
     */
    private String createBy;
 
    /**
     * 申请人名称
     */
    @Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "createBy")
    private String createByName;
}