提交 | 用户 | 时间
|
722af2
|
1 |
package com.dl.workflow.domain.vo; |
X |
2 |
|
|
3 |
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated; |
|
4 |
import com.fasterxml.jackson.annotation.JsonFormat; |
|
5 |
import com.dl.workflow.domain.dto.WfCommentDto; |
|
6 |
import lombok.Data; |
|
7 |
import org.flowable.engine.task.Comment; |
|
8 |
|
|
9 |
import java.io.Serializable; |
|
10 |
import java.util.Date; |
|
11 |
import java.util.List; |
|
12 |
|
|
13 |
/** |
|
14 |
* 工作流任务视图对象 |
|
15 |
* |
|
16 |
* @author KonBAI |
|
17 |
* @createTime 2022/3/10 00:12 |
|
18 |
*/ |
|
19 |
@Data |
|
20 |
@ExcelIgnoreUnannotated |
|
21 |
public class WfTaskVo implements Serializable { |
|
22 |
/** |
|
23 |
* 任务编号 |
|
24 |
*/ |
|
25 |
private String taskId; |
|
26 |
/** |
|
27 |
* 任务名称 |
|
28 |
*/ |
|
29 |
private String taskName; |
|
30 |
/** |
|
31 |
* 任务Key |
|
32 |
*/ |
|
33 |
private String taskDefKey; |
|
34 |
/** |
|
35 |
* 任务执行人Id |
|
36 |
*/ |
|
37 |
private String assigneeId; |
|
38 |
/** |
|
39 |
* 部门名称 |
|
40 |
*/ |
|
41 |
@Deprecated |
|
42 |
private String deptName; |
|
43 |
/** |
|
44 |
* 流程发起人部门名称 |
|
45 |
*/ |
|
46 |
@Deprecated |
|
47 |
private String startDeptName; |
|
48 |
/** |
|
49 |
* 任务执行人名称 |
|
50 |
*/ |
|
51 |
private String assigneeName; |
|
52 |
/** |
|
53 |
* 流程发起人Id |
|
54 |
*/ |
|
55 |
private String startUserId; |
|
56 |
/** |
|
57 |
* 流程发起人名称 |
|
58 |
*/ |
|
59 |
private String startUserName; |
|
60 |
/** |
|
61 |
* 流程类型 |
|
62 |
*/ |
|
63 |
private String category; |
|
64 |
/** |
|
65 |
* 流程变量信息 |
|
66 |
*/ |
|
67 |
private Object procVars; |
|
68 |
/** |
|
69 |
* 局部变量信息 |
|
70 |
*/ |
|
71 |
private Object taskLocalVars; |
|
72 |
/** |
|
73 |
* 流程部署编号 |
|
74 |
*/ |
|
75 |
private String deployId; |
|
76 |
/** |
|
77 |
* 流程ID |
|
78 |
*/ |
|
79 |
private String procDefId; |
|
80 |
/** |
|
81 |
* 流程key |
|
82 |
*/ |
|
83 |
private String procDefKey; |
|
84 |
/** |
|
85 |
* 流程定义名称 |
|
86 |
*/ |
|
87 |
private String procDefName; |
|
88 |
/** |
|
89 |
* 流程定义内置使用版本 |
|
90 |
*/ |
|
91 |
private int procDefVersion; |
|
92 |
/** |
|
93 |
* 流程实例ID |
|
94 |
*/ |
|
95 |
private String procInsId; |
|
96 |
/** |
|
97 |
* 历史流程实例ID |
|
98 |
*/ |
|
99 |
private String hisProcInsId; |
|
100 |
/** |
|
101 |
* 任务耗时 |
|
102 |
*/ |
|
103 |
private String duration; |
|
104 |
/** |
|
105 |
* 任务意见 |
|
106 |
*/ |
|
107 |
private WfCommentDto comment; |
|
108 |
/** |
|
109 |
* 任务意见 |
|
110 |
*/ |
|
111 |
private List<Comment> commentList; |
|
112 |
/** |
|
113 |
* 候选执行人 |
|
114 |
*/ |
|
115 |
private String candidate; |
|
116 |
/** |
|
117 |
* 任务创建时间 |
|
118 |
*/ |
|
119 |
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|
120 |
private Date createTime; |
|
121 |
/** |
|
122 |
* 任务完成时间 |
|
123 |
*/ |
|
124 |
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|
125 |
private Date finishTime; |
|
126 |
|
|
127 |
/** |
|
128 |
* 流程状态 |
|
129 |
*/ |
|
130 |
private String processStatus; |
|
131 |
|
|
132 |
private String businessKey; |
|
133 |
|
|
134 |
} |