LogVoBase.java
7.01 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
package com.viontech.fanxing.commons.vobase;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.viontech.fanxing.commons.base.VoInterface;
import com.viontech.fanxing.commons.model.Log;
import java.util.ArrayList;
import java.util.Date;
public class LogVoBase extends Log implements VoInterface<Log> {
private Log log;
@JsonIgnore
private ArrayList<Long> id_arr;
@JsonIgnore
private Long id_gt;
@JsonIgnore
private Long id_lt;
@JsonIgnore
private Long id_gte;
@JsonIgnore
private Long id_lte;
@JsonIgnore
private ArrayList<Date> dateTime_arr;
@JsonIgnore
private Date dateTime_gt;
@JsonIgnore
private Date dateTime_lt;
@JsonIgnore
private Date dateTime_gte;
@JsonIgnore
private Date dateTime_lte;
@JsonIgnore
private Boolean username_null;
@JsonIgnore
private ArrayList<String> username_arr;
@JsonIgnore
private String username_like;
@JsonIgnore
private ArrayList<Integer> logType_arr;
@JsonIgnore
private Integer logType_gt;
@JsonIgnore
private Integer logType_lt;
@JsonIgnore
private Integer logType_gte;
@JsonIgnore
private Integer logType_lte;
@JsonIgnore
private Boolean content_null;
@JsonIgnore
private ArrayList<String> content_arr;
@JsonIgnore
private String content_like;
public LogVoBase() {
this(null);
}
public LogVoBase(Log log) {
if(log == null) {
log = new Log();
}
this.log = log;
}
@JsonIgnore
public Log getModel() {
return log;
}
public void setModel(Log log) {
this.log = log;
}
public ArrayList<Long> getId_arr() {
return id_arr;
}
public void setId_arr(ArrayList<Long> id_arr) {
this.id_arr = id_arr;
}
public Long getId_gt() {
return id_gt;
}
public void setId_gt(Long id_gt) {
this.id_gt = id_gt;
}
public Long getId_lt() {
return id_lt;
}
public void setId_lt(Long id_lt) {
this.id_lt = id_lt;
}
public Long getId_gte() {
return id_gte;
}
public void setId_gte(Long id_gte) {
this.id_gte = id_gte;
}
public Long getId_lte() {
return id_lte;
}
public void setId_lte(Long id_lte) {
this.id_lte = id_lte;
}
public Long getId() {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
return this.getModel().getId();
}
public void setId(Long id) {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
this.getModel().setId(id);
}
public ArrayList<Date> getDateTime_arr() {
return dateTime_arr;
}
public void setDateTime_arr(ArrayList<Date> dateTime_arr) {
this.dateTime_arr = dateTime_arr;
}
public Date getDateTime_gt() {
return dateTime_gt;
}
public void setDateTime_gt(Date dateTime_gt) {
this.dateTime_gt = dateTime_gt;
}
public Date getDateTime_lt() {
return dateTime_lt;
}
public void setDateTime_lt(Date dateTime_lt) {
this.dateTime_lt = dateTime_lt;
}
public Date getDateTime_gte() {
return dateTime_gte;
}
public void setDateTime_gte(Date dateTime_gte) {
this.dateTime_gte = dateTime_gte;
}
public Date getDateTime_lte() {
return dateTime_lte;
}
public void setDateTime_lte(Date dateTime_lte) {
this.dateTime_lte = dateTime_lte;
}
public Date getDateTime() {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
return this.getModel().getDateTime();
}
public void setDateTime(Date dateTime) {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
this.getModel().setDateTime(dateTime);
}
public Boolean getUsername_null() {
return username_null;
}
public void setUsername_null(Boolean username_null) {
this.username_null = username_null;
}
public ArrayList<String> getUsername_arr() {
return username_arr;
}
public void setUsername_arr(ArrayList<String> username_arr) {
this.username_arr = username_arr;
}
public String getUsername_like() {
return username_like;
}
public void setUsername_like(String username_like) {
this.username_like = username_like;
}
public String getUsername() {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
return this.getModel().getUsername();
}
public void setUsername(String username) {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
this.getModel().setUsername(username);
}
public ArrayList<Integer> getLogType_arr() {
return logType_arr;
}
public void setLogType_arr(ArrayList<Integer> logType_arr) {
this.logType_arr = logType_arr;
}
public Integer getLogType_gt() {
return logType_gt;
}
public void setLogType_gt(Integer logType_gt) {
this.logType_gt = logType_gt;
}
public Integer getLogType_lt() {
return logType_lt;
}
public void setLogType_lt(Integer logType_lt) {
this.logType_lt = logType_lt;
}
public Integer getLogType_gte() {
return logType_gte;
}
public void setLogType_gte(Integer logType_gte) {
this.logType_gte = logType_gte;
}
public Integer getLogType_lte() {
return logType_lte;
}
public void setLogType_lte(Integer logType_lte) {
this.logType_lte = logType_lte;
}
public Integer getLogType() {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
return this.getModel().getLogType();
}
public void setLogType(Integer logType) {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
this.getModel().setLogType(logType);
}
public Boolean getContent_null() {
return content_null;
}
public void setContent_null(Boolean content_null) {
this.content_null = content_null;
}
public ArrayList<String> getContent_arr() {
return content_arr;
}
public void setContent_arr(ArrayList<String> content_arr) {
this.content_arr = content_arr;
}
public String getContent_like() {
return content_like;
}
public void setContent_like(String content_like) {
this.content_like = content_like;
}
public String getContent() {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
return this.getModel().getContent();
}
public void setContent(String content) {
if(getModel() == null ){
throw new RuntimeException("model is null");
}
this.getModel().setContent(content);
}
}