shikeyin
2024-01-11 65da8373531677b1c37a98f53eaa30c892f35e5a
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
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
 
package com.ishop.model.po;
 
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.walker.jdbc.BasePo;
 
/**
 * 表名:EB_USER_ADDRESS *
 * @author genrator
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
public class EbUserAddress extends BasePo<EbUserAddress> {
    // 序列化版本号
    private static final long serialVersionUID = 1L;
 
    // 主键
    private Long id = null;
    @JsonIgnore
    protected boolean isset_id = false;
 
    // 属性列表
    private Long uid = null;
    @JsonIgnore
    protected boolean isset_uid = false;
 
    private String realName = null;
    @JsonIgnore
    protected boolean isset_realName = false;
 
    private String phone = null;
    @JsonIgnore
    protected boolean isset_phone = false;
 
    private String province = null;
    @JsonIgnore
    protected boolean isset_province = false;
 
    private Integer provinceId = null;
    @JsonIgnore
    protected boolean isset_provinceId = false;
 
    private String city = null;
    @JsonIgnore
    protected boolean isset_city = false;
 
    private Integer cityId = null;
    @JsonIgnore
    protected boolean isset_cityId = false;
 
    private String district = null;
    @JsonIgnore
    protected boolean isset_district = false;
 
    private Integer districtId = null;
    @JsonIgnore
    protected boolean isset_districtId = false;
 
    private String street = null;
    @JsonIgnore
    protected boolean isset_street = false;
 
    private String detail = null;
    @JsonIgnore
    protected boolean isset_detail = false;
 
    private Integer postCode = null;
    @JsonIgnore
    protected boolean isset_postCode = false;
 
    private String longitude = null;
    @JsonIgnore
    protected boolean isset_longitude = false;
 
    private String latitude = null;
    @JsonIgnore
    protected boolean isset_latitude = false;
 
    private Integer isDefault = null;
    @JsonIgnore
    protected boolean isset_isDefault = false;
 
    private Integer isDel = null;
    @JsonIgnore
    protected boolean isset_isDel = false;
 
    private Long createTime = null;
    @JsonIgnore
    protected boolean isset_createTime = false;
 
    private Long updateTime = null;
    @JsonIgnore
    protected boolean isset_updateTime = false;
 
    /**
     * 默认构造函数
     */
    public EbUserAddress() {
    }
 
    /**
     * 根据主键构造对象
     */
    public EbUserAddress(Long id) {
        this.setId(id);
    }
 
    /**
     * 设置主键值
     */
    @Override
    public void setPkValue(Object value) {
        this.setId((Long) value);
    }
 
    public Long getId() {
        return this.id;
    }
 
    public void setId(Long id) {
        this.id = id;
        this.isset_id = true;
    }
 
    @JsonIgnore
    public boolean isEmptyId() {
        return this.id == null;
    }
 
    public Long getUid() {
        return this.uid;
    }
 
    public void setUid(Long uid) {
        this.uid = uid;
        this.isset_uid = true;
    }
 
    @JsonIgnore
    public boolean isEmptyUid() {
        return this.uid == null;
    }
 
    public String getRealName() {
        return this.realName;
    }
 
    public void setRealName(String realName) {
        this.realName = realName;
        this.isset_realName = true;
    }
 
    @JsonIgnore
    public boolean isEmptyRealName() {
        return this.realName == null || this.realName.length() == 0;
    }
 
    public String getPhone() {
        return this.phone;
    }
 
    public void setPhone(String phone) {
        this.phone = phone;
        this.isset_phone = true;
    }
 
    @JsonIgnore
    public boolean isEmptyPhone() {
        return this.phone == null || this.phone.length() == 0;
    }
 
    public String getProvince() {
        return this.province;
    }
 
    public void setProvince(String province) {
        this.province = province;
        this.isset_province = true;
    }
 
    @JsonIgnore
    public boolean isEmptyProvince() {
        return this.province == null || this.province.length() == 0;
    }
 
    public Integer getProvinceId() {
        return this.provinceId;
    }
 
    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
        this.isset_provinceId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyProvinceId() {
        return this.provinceId == null;
    }
 
    public String getCity() {
        return this.city;
    }
 
    public void setCity(String city) {
        this.city = city;
        this.isset_city = true;
    }
 
    @JsonIgnore
    public boolean isEmptyCity() {
        return this.city == null || this.city.length() == 0;
    }
 
    public Integer getCityId() {
        return this.cityId;
    }
 
    public void setCityId(Integer cityId) {
        this.cityId = cityId;
        this.isset_cityId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyCityId() {
        return this.cityId == null;
    }
 
    public String getDistrict() {
        return this.district;
    }
 
    public void setDistrict(String district) {
        this.district = district;
        this.isset_district = true;
    }
 
    @JsonIgnore
    public boolean isEmptyDistrict() {
        return this.district == null || this.district.length() == 0;
    }
 
    public Integer getDistrictId() {
        return this.districtId;
    }
 
    public void setDistrictId(Integer districtId) {
        this.districtId = districtId;
        this.isset_districtId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyDistrictId() {
        return this.districtId == null;
    }
 
    public String getStreet() {
        return this.street;
    }
 
    public void setStreet(String street) {
        this.street = street;
        this.isset_street = true;
    }
 
    @JsonIgnore
    public boolean isEmptyStreet() {
        return this.street == null || this.street.length() == 0;
    }
 
    public String getDetail() {
        return this.detail;
    }
 
    public void setDetail(String detail) {
        this.detail = detail;
        this.isset_detail = true;
    }
 
    @JsonIgnore
    public boolean isEmptyDetail() {
        return this.detail == null || this.detail.length() == 0;
    }
 
    public Integer getPostCode() {
        return this.postCode;
    }
 
    public void setPostCode(Integer postCode) {
        this.postCode = postCode;
        this.isset_postCode = true;
    }
 
    @JsonIgnore
    public boolean isEmptyPostCode() {
        return this.postCode == null;
    }
 
    public String getLongitude() {
        return this.longitude;
    }
 
    public void setLongitude(String longitude) {
        this.longitude = longitude;
        this.isset_longitude = true;
    }
 
    @JsonIgnore
    public boolean isEmptyLongitude() {
        return this.longitude == null || this.longitude.length() == 0;
    }
 
    public String getLatitude() {
        return this.latitude;
    }
 
    public void setLatitude(String latitude) {
        this.latitude = latitude;
        this.isset_latitude = true;
    }
 
    @JsonIgnore
    public boolean isEmptyLatitude() {
        return this.latitude == null || this.latitude.length() == 0;
    }
 
    public Integer getIsDefault() {
        return this.isDefault;
    }
 
    public void setIsDefault(Integer isDefault) {
        this.isDefault = isDefault;
        this.isset_isDefault = true;
    }
 
    @JsonIgnore
    public boolean isEmptyIsDefault() {
        return this.isDefault == null;
    }
 
    public Integer getIsDel() {
        return this.isDel;
    }
 
    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
        this.isset_isDel = true;
    }
 
    @JsonIgnore
    public boolean isEmptyIsDel() {
        return this.isDel == null;
    }
 
    public Long getCreateTime() {
        return this.createTime;
    }
 
    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
        this.isset_createTime = true;
    }
 
    @JsonIgnore
    public boolean isEmptyCreateTime() {
        return this.createTime == null;
    }
 
    public Long getUpdateTime() {
        return this.updateTime;
    }
 
    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
        this.isset_updateTime = true;
    }
 
    @JsonIgnore
    public boolean isEmptyUpdateTime() {
        return this.updateTime == null;
    }
 
    /**
     * 重写 toString() 方法
     */
    @Override
    public String toString() {
        return new StringBuilder()
                .append("id=").append(this.id)
                .append("uid=").append(this.uid)
                .append("realName=").append(this.realName)
                .append("phone=").append(this.phone)
                .append("province=").append(this.province)
                .append("provinceId=").append(this.provinceId)
                .append("city=").append(this.city)
                .append("cityId=").append(this.cityId)
                .append("district=").append(this.district)
                .append("districtId=").append(this.districtId)
                .append("street=").append(this.street)
                .append("detail=").append(this.detail)
                .append("postCode=").append(this.postCode)
                .append("longitude=").append(this.longitude)
                .append("latitude=").append(this.latitude)
                .append("isDefault=").append(this.isDefault)
                .append("isDel=").append(this.isDel)
                .append("createTime=").append(this.createTime)
                .append("updateTime=").append(this.updateTime)
                .toString();
    }
 
    /**
     * 克隆
     */
    public EbUserAddress $clone() {
        EbUserAddress eb_user_address = new EbUserAddress();
 
        // 数据库名称
        //eb_user_address.setDatabaseName_(this.getDatabaseName_());
 
        // 主键
        if (this.isset_id) {
            eb_user_address.setId(this.getId());
        }
        // 普通属性
        if (this.isset_uid) {
            eb_user_address.setUid(this.getUid());
        }
        if (this.isset_realName) {
            eb_user_address.setRealName(this.getRealName());
        }
        if (this.isset_phone) {
            eb_user_address.setPhone(this.getPhone());
        }
        if (this.isset_province) {
            eb_user_address.setProvince(this.getProvince());
        }
        if (this.isset_provinceId) {
            eb_user_address.setProvinceId(this.getProvinceId());
        }
        if (this.isset_city) {
            eb_user_address.setCity(this.getCity());
        }
        if (this.isset_cityId) {
            eb_user_address.setCityId(this.getCityId());
        }
        if (this.isset_district) {
            eb_user_address.setDistrict(this.getDistrict());
        }
        if (this.isset_districtId) {
            eb_user_address.setDistrictId(this.getDistrictId());
        }
        if (this.isset_street) {
            eb_user_address.setStreet(this.getStreet());
        }
        if (this.isset_detail) {
            eb_user_address.setDetail(this.getDetail());
        }
        if (this.isset_postCode) {
            eb_user_address.setPostCode(this.getPostCode());
        }
        if (this.isset_longitude) {
            eb_user_address.setLongitude(this.getLongitude());
        }
        if (this.isset_latitude) {
            eb_user_address.setLatitude(this.getLatitude());
        }
        if (this.isset_isDefault) {
            eb_user_address.setIsDefault(this.getIsDefault());
        }
        if (this.isset_isDel) {
            eb_user_address.setIsDel(this.getIsDel());
        }
        if (this.isset_createTime) {
            eb_user_address.setCreateTime(this.getCreateTime());
        }
        if (this.isset_updateTime) {
            eb_user_address.setUpdateTime(this.getUpdateTime());
        }
        return eb_user_address;
    }
}