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_PRODUCT_REPLY *
 * @author genrator
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
public class EbProductReply extends BasePo<EbProductReply> {
    // 序列化版本号
    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 Integer merId = null;
    @JsonIgnore
    protected boolean isset_merId = false;
 
    private String orderNo = null;
    @JsonIgnore
    protected boolean isset_orderNo = false;
 
    private Long orderDetailId = null;
    @JsonIgnore
    protected boolean isset_orderDetailId = false;
 
    private Long productId = null;
    @JsonIgnore
    protected boolean isset_productId = false;
 
    private Integer attrValueId = null;
    @JsonIgnore
    protected boolean isset_attrValueId = false;
 
    private String sku = null;
    @JsonIgnore
    protected boolean isset_sku = false;
 
    private Integer star = null;
    @JsonIgnore
    protected boolean isset_star = false;
 
    private String comment = null;
    @JsonIgnore
    protected boolean isset_comment = false;
 
    private String pics = null;
    @JsonIgnore
    protected boolean isset_pics = false;
 
    private String merchantReplyContent = null;
    @JsonIgnore
    protected boolean isset_merchantReplyContent = false;
 
    private Long merchantReplyTime = null;
    @JsonIgnore
    protected boolean isset_merchantReplyTime = false;
 
    private Integer isDel = null;
    @JsonIgnore
    protected boolean isset_isDel = false;
 
    private Integer isReply = null;
    @JsonIgnore
    protected boolean isset_isReply = false;
 
    private String nickname = null;
    @JsonIgnore
    protected boolean isset_nickname = false;
 
    private String avatar = null;
    @JsonIgnore
    protected boolean isset_avatar = false;
 
    private Long createTime = null;
    @JsonIgnore
    protected boolean isset_createTime = false;
 
    private Long updateTime = null;
    @JsonIgnore
    protected boolean isset_updateTime = false;
 
    /**
     * 默认构造函数
     */
    public EbProductReply() {
    }
 
    /**
     * 根据主键构造对象
     */
    public EbProductReply(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 Integer getMerId() {
        return this.merId;
    }
 
    public void setMerId(Integer merId) {
        this.merId = merId;
        this.isset_merId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyMerId() {
        return this.merId == null;
    }
 
    public String getOrderNo() {
        return this.orderNo;
    }
 
    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
        this.isset_orderNo = true;
    }
 
    @JsonIgnore
    public boolean isEmptyOrderNo() {
        return this.orderNo == null || this.orderNo.length() == 0;
    }
 
    public Long getOrderDetailId() {
        return this.orderDetailId;
    }
 
    public void setOrderDetailId(Long orderDetailId) {
        this.orderDetailId = orderDetailId;
        this.isset_orderDetailId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyOrderDetailId() {
        return this.orderDetailId == null;
    }
 
    public Long getProductId() {
        return this.productId;
    }
 
    public void setProductId(Long productId) {
        this.productId = productId;
        this.isset_productId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyProductId() {
        return this.productId == null;
    }
 
    public Integer getAttrValueId() {
        return this.attrValueId;
    }
 
    public void setAttrValueId(Integer attrValueId) {
        this.attrValueId = attrValueId;
        this.isset_attrValueId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyAttrValueId() {
        return this.attrValueId == null;
    }
 
    public String getSku() {
        return this.sku;
    }
 
    public void setSku(String sku) {
        this.sku = sku;
        this.isset_sku = true;
    }
 
    @JsonIgnore
    public boolean isEmptySku() {
        return this.sku == null || this.sku.length() == 0;
    }
 
    public Integer getStar() {
        return this.star;
    }
 
    public void setStar(Integer star) {
        this.star = star;
        this.isset_star = true;
    }
 
    @JsonIgnore
    public boolean isEmptyStar() {
        return this.star == null;
    }
 
    public String getComment() {
        return this.comment;
    }
 
    public void setComment(String comment) {
        this.comment = comment;
        this.isset_comment = true;
    }
 
    @JsonIgnore
    public boolean isEmptyComment() {
        return this.comment == null || this.comment.length() == 0;
    }
 
    public String getPics() {
        return this.pics;
    }
 
    public void setPics(String pics) {
        this.pics = pics;
        this.isset_pics = true;
    }
 
    @JsonIgnore
    public boolean isEmptyPics() {
        return this.pics == null || this.pics.length() == 0;
    }
 
    public String getMerchantReplyContent() {
        return this.merchantReplyContent;
    }
 
    public void setMerchantReplyContent(String merchantReplyContent) {
        this.merchantReplyContent = merchantReplyContent;
        this.isset_merchantReplyContent = true;
    }
 
    @JsonIgnore
    public boolean isEmptyMerchantReplyContent() {
        return this.merchantReplyContent == null || this.merchantReplyContent.length() == 0;
    }
 
    public Long getMerchantReplyTime() {
        return this.merchantReplyTime;
    }
 
    public void setMerchantReplyTime(Long merchantReplyTime) {
        this.merchantReplyTime = merchantReplyTime;
        this.isset_merchantReplyTime = true;
    }
 
    @JsonIgnore
    public boolean isEmptyMerchantReplyTime() {
        return this.merchantReplyTime == 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 Integer getIsReply() {
        return this.isReply;
    }
 
    public void setIsReply(Integer isReply) {
        this.isReply = isReply;
        this.isset_isReply = true;
    }
 
    @JsonIgnore
    public boolean isEmptyIsReply() {
        return this.isReply == null;
    }
 
    public String getNickname() {
        return this.nickname;
    }
 
    public void setNickname(String nickname) {
        this.nickname = nickname;
        this.isset_nickname = true;
    }
 
    @JsonIgnore
    public boolean isEmptyNickname() {
        return this.nickname == null || this.nickname.length() == 0;
    }
 
    public String getAvatar() {
        return this.avatar;
    }
 
    public void setAvatar(String avatar) {
        this.avatar = avatar;
        this.isset_avatar = true;
    }
 
    @JsonIgnore
    public boolean isEmptyAvatar() {
        return this.avatar == null || this.avatar.length() == 0;
    }
 
    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("merId=").append(this.merId)
                .append("orderNo=").append(this.orderNo)
                .append("orderDetailId=").append(this.orderDetailId)
                .append("productId=").append(this.productId)
                .append("attrValueId=").append(this.attrValueId)
                .append("sku=").append(this.sku)
                .append("star=").append(this.star)
                .append("comment=").append(this.comment)
                .append("pics=").append(this.pics)
                .append("merchantReplyContent=").append(this.merchantReplyContent)
                .append("merchantReplyTime=").append(this.merchantReplyTime)
                .append("isDel=").append(this.isDel)
                .append("isReply=").append(this.isReply)
                .append("nickname=").append(this.nickname)
                .append("avatar=").append(this.avatar)
                .append("createTime=").append(this.createTime)
                .append("updateTime=").append(this.updateTime)
                .toString();
    }
 
    /**
     * 克隆
     */
    public EbProductReply $clone() {
        EbProductReply eb_product_reply = new EbProductReply();
 
        // 数据库名称
        //eb_product_reply.setDatabaseName_(this.getDatabaseName_());
 
        // 主键
        if (this.isset_id) {
            eb_product_reply.setId(this.getId());
        }
        // 普通属性
        if (this.isset_uid) {
            eb_product_reply.setUid(this.getUid());
        }
        if (this.isset_merId) {
            eb_product_reply.setMerId(this.getMerId());
        }
        if (this.isset_orderNo) {
            eb_product_reply.setOrderNo(this.getOrderNo());
        }
        if (this.isset_orderDetailId) {
            eb_product_reply.setOrderDetailId(this.getOrderDetailId());
        }
        if (this.isset_productId) {
            eb_product_reply.setProductId(this.getProductId());
        }
        if (this.isset_attrValueId) {
            eb_product_reply.setAttrValueId(this.getAttrValueId());
        }
        if (this.isset_sku) {
            eb_product_reply.setSku(this.getSku());
        }
        if (this.isset_star) {
            eb_product_reply.setStar(this.getStar());
        }
        if (this.isset_comment) {
            eb_product_reply.setComment(this.getComment());
        }
        if (this.isset_pics) {
            eb_product_reply.setPics(this.getPics());
        }
        if (this.isset_merchantReplyContent) {
            eb_product_reply.setMerchantReplyContent(this.getMerchantReplyContent());
        }
        if (this.isset_merchantReplyTime) {
            eb_product_reply.setMerchantReplyTime(this.getMerchantReplyTime());
        }
        if (this.isset_isDel) {
            eb_product_reply.setIsDel(this.getIsDel());
        }
        if (this.isset_isReply) {
            eb_product_reply.setIsReply(this.getIsReply());
        }
        if (this.isset_nickname) {
            eb_product_reply.setNickname(this.getNickname());
        }
        if (this.isset_avatar) {
            eb_product_reply.setAvatar(this.getAvatar());
        }
        if (this.isset_createTime) {
            eb_product_reply.setCreateTime(this.getCreateTime());
        }
        if (this.isset_updateTime) {
            eb_product_reply.setUpdateTime(this.getUpdateTime());
        }
        return eb_product_reply;
    }
}