TaskFindRequest.java
3.38 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
/**
* @(#)TaskFindRequest.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.request;
import com.xiniunet.framework.base.BaseFindRequest;
import com.xiniunet.task.enumeration.TaskObjectCategoryEnum;
import com.xiniunet.task.enumeration.TaskObjectTypeEnum;
import com.xiniunet.task.enumeration.TaskSortEnum;
import java.util.Date;
/**
* Created by 沈振家 on 2016-11-28 16:23:01.
*
* @author 沈振家
*/
public class TaskFindRequest extends BaseFindRequest {
/**
* 关键字
*/
private String keyword;
/**
* 对象类型
*/
private TaskObjectTypeEnum objectType;
/**
* 对象ID
*/
private Long objectId;
/**
* 对象分类
*/
private TaskObjectCategoryEnum objectCategory;
/**
* 任务清单ID
*/
private Long listId;
/**
* 负责人用户ID
*/
private Long ownerUserId;
/**
* 是否星标
*/
private Boolean isStar;
/**
* 是否有截止日
*/
private Boolean hasDeadline;
/**
* 截止日
*/
private Date deadlineDate;
/**
* 是否完成
*/
private Boolean isDone;
/**
* 排序字段
*/
private TaskSortEnum sortColumn;
public String getKeyword() {
return keyword;
}
public void setKeyword(String keyword) {
this.keyword = keyword;
}
public TaskObjectTypeEnum getObjectType() {
return objectType;
}
public void setObjectType(TaskObjectTypeEnum 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 Long getListId() {
return listId;
}
public void setListId(Long listId) {
this.listId = listId;
}
public Long getOwnerUserId() {
return ownerUserId;
}
public void setOwnerUserId(Long ownerUserId) {
this.ownerUserId = ownerUserId;
}
public Boolean getIsStar() {
return isStar;
}
public void setIsStar(Boolean isStar) {
this.isStar = isStar;
}
public Boolean getHasDeadline() {
return hasDeadline;
}
public void setHasDeadline(Boolean hasDeadline) {
this.hasDeadline = hasDeadline;
}
public Date getDeadlineDate() {
return deadlineDate;
}
public void setDeadlineDate(Date deadlineDate) {
this.deadlineDate = deadlineDate;
}
public Boolean getIsDone() {
return isDone;
}
public void setIsDone(Boolean isDone) {
this.isDone = isDone;
}
public TaskSortEnum getSortColumn() {
return sortColumn;
}
public void setSortColumn(TaskSortEnum sortColumn) {
this.sortColumn = sortColumn;
}
}