TaskObject.java
6.36 KB
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
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
/**
* @(#)Task.java
*
* Copyright (c) 2014-2014 苏州犀牛网络科技有限公司 版权所有
* xiniunet. All rights reserved.
*
* This software is the confidential and proprietary
* information of xiniunet.
* ("Confidential Information"). You shall not disclose
* such Confidential Information and shall use it only
* in accordance with the terms of the contract agreement
* you entered into with xiniunet.
*/
package com.xiniunet.task.domain;
import com.xiniunet.framework.base.BaseDomain;
import com.xiniunet.task.enumeration.PrioityEnum;
import com.xiniunet.task.enumeration.TaskObjectCategoryEnum;
import com.xiniunet.task.enumeration.TaskObjectTypeEnum;
import java.sql.Timestamp;
import java.util.Date;
import java.util.List;
/**
* Created by 沈振家 on 2016-11-28 16:23:01.
* @author 沈振家
*/
public class TaskObject extends BaseDomain {
/**
* 是否是任务组
*/
private Boolean isTaskGroup;
/**
* 头像
*/
private String avarUrl;
/**
* 主键
*/
private Long id;
/**
* 承租人ID
*/
private Long tenantId;
/**
* 对象类型
*/
private String objectType;
/**
* 对象ID
*/
private Long objectId;
/**
* 对象分类
*/
private TaskObjectCategoryEnum objectCategory;
/**
* 未读动态数量
*/
private Integer unReadCount;
/**
* 最后动态更新时间
*/
private Date lastDynamicTime;
/**
* 对象名称
*/
private String objectName;
// 任务信息====
/**
* 是否完成
*/
private Boolean isDone;
/**
* 是否终止,
*/
private Boolean isAbort;
/**
* 是否过期
*/
private Boolean isOverdue;
/**
* 对象描述
*/
private String objectDescription;
/**
* 对象链接,
*/
private String objectUrl;
/**
* 负责人用户ID
*/
private Long ownerUserId;
/**
* 负责人用户姓名
*/
private String ownerUserName;
/**
* 是否置顶
*/
private Boolean isTop;
/**
* 置顶排序
*/
private Integer topIndex;
/**
* 进度
*/
private Integer processPercent;
/**
* 开始时间
*/
private Date beginTime;
/**
* 结束时间
*/
private Date endTime;
/**
* 任务组任务名称拼接
*/
private String objectDetail;
/**
* 任务数量
*/
private Integer taskCount;
public Boolean getIsDone() {
return isDone;
}
public void setIsDone(Boolean done) {
isDone = done;
}
public Boolean getIsAbort() {
return isAbort;
}
public void setIsAbort(Boolean abort) {
isAbort = abort;
}
public Boolean getIsOverdue() {
return isOverdue;
}
public void setIsOverdue(Boolean overdue) {
isOverdue = overdue;
}
public Integer getTaskCount() {
return taskCount;
}
public void setTaskCount(Integer taskCount) {
this.taskCount = taskCount;
}
public String getObjectDetail() {
return objectDetail;
}
public void setObjectDetail(String objectDetail) {
this.objectDetail = objectDetail;
}
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 getProcessPercent() {
return processPercent;
}
public void setProcessPercent(Integer processPercent) {
this.processPercent = processPercent;
}
public Boolean getIsTop() {
return isTop;
}
public void setIsTop(Boolean top) {
isTop = top;
}
public Integer getTopIndex() {
return topIndex;
}
public void setTopIndex(Integer topIndex) {
this.topIndex = topIndex;
}
public Boolean getIsTaskGroup() {
return isTaskGroup;
}
public void setIsTaskGroup(Boolean taskGroup) {
isTaskGroup = taskGroup;
}
public String getAvarUrl() {
return avarUrl;
}
public void setAvarUrl(String avarUrl) {
this.avarUrl = avarUrl;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getTenantId() {
return tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
}
public String getObjectType() {
return objectType;
}
public void setObjectType(String objectType) {
this.objectType = objectType;
}
public Long getObjectId() {
return objectId;
}
public void setObjectId(Long objectId) {
this.objectId = objectId;
}
public TaskObjectCategoryEnum getObjectCategory() {
return objectCategory;
}
public void setObjectCategory(TaskObjectCategoryEnum objectCategory) {
this.objectCategory = objectCategory;
}
public Integer getUnReadCount() {
return unReadCount;
}
public void setUnReadCount(Integer unReadCount) {
this.unReadCount = unReadCount;
}
public Date getLastDynamicTime() {
return lastDynamicTime;
}
public void setLastDynamicTime(Date lastDynamicTime) {
this.lastDynamicTime = lastDynamicTime;
}
public String getObjectName() {
return objectName;
}
public void setObjectName(String objectName) {
this.objectName = objectName;
}
public String getObjectDescription() {
return objectDescription;
}
public void setObjectDescription(String objectDescription) {
this.objectDescription = objectDescription;
}
public String getObjectUrl() {
return objectUrl;
}
public void setObjectUrl(String objectUrl) {
this.objectUrl = objectUrl;
}
public Long getOwnerUserId() {
return ownerUserId;
}
public void setOwnerUserId(Long ownerUserId) {
this.ownerUserId = ownerUserId;
}
public String getOwnerUserName() {
return ownerUserName;
}
public void setOwnerUserName(String ownerUserName) {
this.ownerUserName = ownerUserName;
}
}