whycxzp
7 天以前 08879b1fb5f25265b22becd95a31ce9c8709b8ba
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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
package com.whyc.pojo.web_site;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.ToString;
import org.apache.ibatis.type.Alias;
 
import java.util.Date;
import java.util.List;
import java.util.Map;
 
/**
 * 工作流主表
 */
@ToString
@Alias("WorkflowMain")
@TableName(schema = "web_site",value = "tb_workflow_main")
public class WorkflowMain {
 
    private Integer id;
    /**
     * 工单id,规范:WF-1-20211101-00001
     * (Workflow)-(工单类型 告警:1 普通:2)-(年月日)-(当日编号序列)
     *
     * */
    @ApiModelProperty("工单id,规范:FG-GF-1-20211101-00001,(Workflow)-(工单类型 告警:1 普通:2)-(年月日)-(当日编号序列)")
    private String orderId;
    /**标题*/
    @ApiModelProperty("标题")
    private String title;
    /**任务描述*/
    @ApiModelProperty("任务描述")
    private String taskDesc;
    /**创建人id*/
    @ApiModelProperty("创建人id")
    private Integer createUserId;
    /**创建时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date createTime;
    /**任务计划开始时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date planBeginTime;
    /**任务计划结束时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date planEndTime;
    /**任务开始处理时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date beginTime;
    /**任务归档时间*/
    @ApiModelProperty("归档时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date endTime;
 
    @ApiModelProperty("申请数量")
    private Integer quantity;
    /**任务等级*/
    @ApiModelProperty("任务等级")
    private Integer taskLevel;
    /**是否及时*/
    @ApiModelProperty("是否及时")
    @TableField("is_in_time")
    private Integer inTime;
    @ApiModelProperty("流程过程阶段")
    private String processStage;
    @ApiModelProperty("工单状态")
    private Integer status;
    /**附件名称*/
    @ApiModelProperty("附件名称")
    private String fileName;
    /**附件地址*/
    @ApiModelProperty("附件地址")
    private String fileUrl;
    /**图片名称*/
    @ApiModelProperty("图片名称")
    private String picName;
    /**图片地址*/
    @ApiModelProperty("图片地址")
    private String picUrl;
    /**归档意见*/
    @ApiModelProperty("归档意见")
    private String endReason;
    /**是否自动派单*/
    @ApiModelProperty("是否自动派单")
    @TableField("is_auto")
    private Integer auto;
 
    @ApiModelProperty("关联工单id")
    private Integer relatedId;
 
    /**
     * @see com.whyc.constant.WorkflowTypeEnum
     */
    @ApiModelProperty("工单流类型")
    private Integer type;
 
    @TableField(exist = false)
    private String createUserName;
 
    @TableField(exist = false)
    private List<WorkflowLink> linkList;
    public WorkflowMain(Integer id, Integer status, String endReason, Date endTime) {
        this.id = id;
        this.status = status;
        this.endReason = endReason;
        this.endTime = endTime;
    }
 
    public WorkflowMain() {
 
    }
 
 
    public Integer getId() {
        return id;
    }
 
    public void setId(Integer id) {
        this.id = id;
    }
 
    public String getOrderId() {
        return orderId;
    }
 
    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }
 
    public String getTitle() {
        return title;
    }
 
    public void setTitle(String title) {
        this.title = title;
    }
 
    public String getTaskDesc() {
        return taskDesc;
    }
 
    public void setTaskDesc(String taskDesc) {
        this.taskDesc = taskDesc;
    }
 
    public Integer getCreateUserId() {
        return createUserId;
    }
 
    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }
 
    public Date getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
 
    public Date getPlanBeginTime() {
        return planBeginTime;
    }
 
    public void setPlanBeginTime(Date planBeginTime) {
        this.planBeginTime = planBeginTime;
    }
 
    public Date getPlanEndTime() {
        return planEndTime;
    }
 
    public void setPlanEndTime(Date planEndTime) {
        this.planEndTime = planEndTime;
    }
 
    public Date getBeginTime() {
        return beginTime;
    }
 
    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }
 
    public Date getEndTime() {
        return endTime;
    }
 
    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
 
    public Integer getTaskLevel() {
        return taskLevel;
    }
 
    public void setTaskLevel(Integer taskLevel) {
        this.taskLevel = taskLevel;
    }
 
    public Integer getInTime() {
        return inTime;
    }
 
    public void setInTime(Integer inTime) {
        this.inTime = inTime;
    }
 
    public Integer getStatus() {
        return status;
    }
 
    public void setStatus(Integer status) {
        this.status = status;
    }
 
    public String getFileName() {
        return fileName;
    }
 
    public void setFileName(String fileName) {
        this.fileName = fileName;
    }
 
    public String getFileUrl() {
        return fileUrl;
    }
 
    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }
 
    public String getPicName() {
        return picName;
    }
 
    public void setPicName(String picName) {
        this.picName = picName;
    }
 
    public String getPicUrl() {
        return picUrl;
    }
 
    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }
 
    public String getEndReason() {
        return endReason;
    }
 
    public void setEndReason(String endReason) {
        this.endReason = endReason;
    }
 
    public Integer getAuto() {
        return auto;
    }
 
    public void setAuto(Integer auto) {
        this.auto = auto;
    }
 
    public List<WorkflowLink> getLinkList() {
        return linkList;
    }
 
    public void setLinkList(List<WorkflowLink> linkList) {
        this.linkList = linkList;
    }
 
    public Integer getType() {
        return type;
    }
 
    public void setType(Integer type) {
        this.type = type;
    }
 
    public String getCreateUserName() {
        return createUserName;
    }
 
    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }
 
    public Integer getQuantity() {
        return quantity;
    }
 
    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }
 
    public String getProcessStage() {
        return processStage;
    }
 
    public void setProcessStage(String processStage) {
        this.processStage = processStage;
    }
 
    public Integer getRelatedId() {
        return relatedId;
    }
 
    public void setRelatedId(Integer relatedId) {
        this.relatedId = relatedId;
    }
}