User.java
7.52 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
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
package com.bjivt.entity.showtime;
import java.beans.Transient;
import java.util.Date;
import com.bjivt.util.Base64Utils;
public class User {
private Integer id;
private String name;
private String msisdn;
private String captcha;
private String avatar;
private String email;
private String signature;
private Integer liveCount;
private Integer likeCount;
private Integer exp;
private Integer fansCount;
private Integer followerCount;
private Integer chineseCoin;
private Integer meCoinTotal;
private Integer meCoinBalance;
private Integer sentGiftCount;
private Integer sentGiftMoneyCount;
private Integer sentRedEnvelopCount;
private Integer sentRedEnvelopMoneyCount;
private String sex;
private Integer age;
private String hometown;
private String profession;
private String password;
private String thirdPartyType;
private String thirdPartyAccount;
private Date createTime;
private Date lastLoginTime;
private String lastLoginIp;
private Short chatAuth;
private Short isStar;
private String lastLoginLocation;
private String active;
private String queryName;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
try {
if(name != null)
name = new String(Base64Utils.decode(name),"UTF-8");
} catch (Exception e) {
}
return name;
}
public void setName(String name) {
this.name = name == null ? null : name.trim();
}
public String getMsisdn() {
return msisdn;
}
public void setMsisdn(String msisdn) {
this.msisdn = msisdn == null ? null : msisdn.trim();
}
public String getCaptcha() {
return captcha;
}
public void setCaptcha(String captcha) {
this.captcha = captcha == null ? null : captcha.trim();
}
public String getAvatar() {
return avatar;
}
public void setAvatar(String avatar) {
this.avatar = avatar == null ? null : avatar.trim();
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email == null ? null : email.trim();
}
public String getSignature() {
try {
if(signature != null)
signature = new String(Base64Utils.decode(signature),"UTF-8");
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return signature;
}
public void setSignature(String signature) {
this.signature = signature == null ? null : signature.trim();
}
public Integer getLiveCount() {
return liveCount;
}
public void setLiveCount(Integer liveCount) {
this.liveCount = liveCount;
}
public Integer getLikeCount() {
return likeCount;
}
public void setLikeCount(Integer likeCount) {
this.likeCount = likeCount;
}
public Integer getExp() {
return exp;
}
public void setExp(Integer exp) {
this.exp = exp;
}
public Integer getFansCount() {
return fansCount;
}
public void setFansCount(Integer fansCount) {
this.fansCount = fansCount;
}
public Integer getFollowerCount() {
return followerCount;
}
public void setFollowerCount(Integer followerCount) {
this.followerCount = followerCount;
}
public Integer getChineseCoin() {
return chineseCoin;
}
public void setChineseCoin(Integer chineseCoin) {
this.chineseCoin = chineseCoin;
}
public Integer getMeCoinTotal() {
return meCoinTotal;
}
public void setMeCoinTotal(Integer meCoinTotal) {
this.meCoinTotal = meCoinTotal;
}
public Integer getMeCoinBalance() {
return meCoinBalance;
}
public void setMeCoinBalance(Integer meCoinBalance) {
this.meCoinBalance = meCoinBalance;
}
public Integer getSentGiftCount() {
return sentGiftCount;
}
public void setSentGiftCount(Integer sentGiftCount) {
this.sentGiftCount = sentGiftCount;
}
public Integer getSentGiftMoneyCount() {
return sentGiftMoneyCount;
}
public void setSentGiftMoneyCount(Integer sentGiftMoneyCount) {
this.sentGiftMoneyCount = sentGiftMoneyCount;
}
public Integer getSentRedEnvelopCount() {
return sentRedEnvelopCount;
}
public void setSentRedEnvelopCount(Integer sentRedEnvelopCount) {
this.sentRedEnvelopCount = sentRedEnvelopCount;
}
public Integer getSentRedEnvelopMoneyCount() {
return sentRedEnvelopMoneyCount;
}
public void setSentRedEnvelopMoneyCount(Integer sentRedEnvelopMoneyCount) {
this.sentRedEnvelopMoneyCount = sentRedEnvelopMoneyCount;
}
public String getSex() {
return sex;
}
public void setSex(String sex) {
this.sex = sex == null ? null : sex.trim();
}
public Integer getAge() {
return age;
}
public void setAge(Integer age) {
this.age = age;
}
public String getHometown() {
return hometown;
}
public void setHometown(String hometown) {
this.hometown = hometown == null ? null : hometown.trim();
}
public String getProfession() {
return profession;
}
public void setProfession(String profession) {
this.profession = profession == null ? null : profession.trim();
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password == null ? null : password.trim();
}
public String getThirdPartyType() {
return thirdPartyType;
}
public void setThirdPartyType(String thirdPartyType) {
this.thirdPartyType = thirdPartyType == null ? null : thirdPartyType.trim();
}
public String getThirdPartyAccount() {
return thirdPartyAccount;
}
public void setThirdPartyAccount(String thirdPartyAccount) {
this.thirdPartyAccount = thirdPartyAccount == null ? null : thirdPartyAccount.trim();
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public Date getLastLoginTime() {
return lastLoginTime;
}
public void setLastLoginTime(Date lastLoginTime) {
this.lastLoginTime = lastLoginTime;
}
public String getLastLoginIp() {
return lastLoginIp;
}
public void setLastLoginIp(String lastLoginIp) {
this.lastLoginIp = lastLoginIp == null ? null : lastLoginIp.trim();
}
public Short getChatAuth() {
return chatAuth;
}
public void setChatAuth(Short chatAuth) {
this.chatAuth = chatAuth;
}
public Short getIsStar() {
return isStar;
}
public void setIsStar(Short isStar) {
this.isStar = isStar;
}
public String getLastLoginLocation() {
return lastLoginLocation;
}
public void setLastLoginLocation(String lastLoginLocation) {
this.lastLoginLocation = lastLoginLocation == null ? null : lastLoginLocation.trim();
}
public String getActive() {
return active;
}
public void setActive(String active) {
this.active = active == null ? null : active.trim();
}
@Transient
public String getQueryName() {
return queryName;
}
public void setQueryName(String queryName) {
this.queryName = queryName;
}
}