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
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
 
package com.ishop.model.po;
 
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.walker.jdbc.BasePo;
 
/**
 * 表名:EB_SECKILL_PRODUCT *
 * @author genrator
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
public class EbSeckillProduct extends BasePo<EbSeckillProduct> {
    // 序列化版本号
    private static final long serialVersionUID = 1L;
 
//    /**
//     * 用于兼容老写法
//     */
//    @JsonIgnore
//    public static final EbSeckillProduct ROW_MAPPER = new EbSeckillProduct();
 
    // 主键
    private Integer id = null;
    @JsonIgnore
    protected boolean isset_id = false;
 
    // 属性列表
    private Integer activityId = null;
    @JsonIgnore
    protected boolean isset_activityId = false;
 
    private Long productId = null;
    @JsonIgnore
    protected boolean isset_productId = false;
 
    private Integer merId = null;
    @JsonIgnore
    protected boolean isset_merId = false;
 
    private String image = null;
    @JsonIgnore
    protected boolean isset_image = false;
 
    private String flatPattern = null;
    @JsonIgnore
    protected boolean isset_flatPattern = false;
 
    private String sliderImage = null;
    @JsonIgnore
    protected boolean isset_sliderImage = false;
 
    private String name = null;
    @JsonIgnore
    protected boolean isset_name = false;
 
    private String intro = null;
    @JsonIgnore
    protected boolean isset_intro = false;
 
    private String keyword = null;
    @JsonIgnore
    protected boolean isset_keyword = false;
 
    private Integer brandId = null;
    @JsonIgnore
    protected boolean isset_brandId = false;
 
    private Integer categoryId = null;
    @JsonIgnore
    protected boolean isset_categoryId = false;
 
    private String guaranteeIds = null;
    @JsonIgnore
    protected boolean isset_guaranteeIds = false;
 
    private Double price = null;
    @JsonIgnore
    protected boolean isset_price = false;
 
    private Double seckillPrice = null;
    @JsonIgnore
    protected boolean isset_seckillPrice = false;
 
    private String unitName = null;
    @JsonIgnore
    protected boolean isset_unitName = false;
 
    private Integer sales = null;
    @JsonIgnore
    protected boolean isset_sales = false;
 
    private Integer tempId = null;
    @JsonIgnore
    protected boolean isset_tempId = false;
 
    private Integer sort = null;
    @JsonIgnore
    protected boolean isset_sort = false;
 
    private Integer specType = null;
    @JsonIgnore
    protected boolean isset_specType = false;
 
    private Integer isShow = null;
    @JsonIgnore
    protected boolean isset_isShow = false;
 
    private Integer auditStatus = null;
    @JsonIgnore
    protected boolean isset_auditStatus = false;
 
    private String reason = null;
    @JsonIgnore
    protected boolean isset_reason = false;
 
    private Integer quotaShow = null;
    @JsonIgnore
    protected boolean isset_quotaShow = false;
 
    private Integer quota = null;
    @JsonIgnore
    protected boolean isset_quota = 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 EbSeckillProduct() {
    }
 
    /**
     * 根据主键构造对象
     */
    public EbSeckillProduct(Integer id) {
        this.setId(id);
    }
 
    /**
     * 设置主键值
     */
    @Override
    public void setPkValue(Object value) {
        this.setId((Integer) value);
    }
 
    public Integer getId() {
        return this.id;
    }
 
    public void setId(Integer id) {
        this.id = id;
        this.isset_id = true;
    }
 
    @JsonIgnore
    public boolean isEmptyId() {
        return this.id == null;
    }
 
    public Integer getActivityId() {
        return this.activityId;
    }
 
    public void setActivityId(Integer activityId) {
        this.activityId = activityId;
        this.isset_activityId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyActivityId() {
        return this.activityId == 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 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 getImage() {
        return this.image;
    }
 
    public void setImage(String image) {
        this.image = image;
        this.isset_image = true;
    }
 
    @JsonIgnore
    public boolean isEmptyImage() {
        return this.image == null || this.image.length() == 0;
    }
 
    public String getFlatPattern() {
        return this.flatPattern;
    }
 
    public void setFlatPattern(String flatPattern) {
        this.flatPattern = flatPattern;
        this.isset_flatPattern = true;
    }
 
    @JsonIgnore
    public boolean isEmptyFlatPattern() {
        return this.flatPattern == null || this.flatPattern.length() == 0;
    }
 
    public String getSliderImage() {
        return this.sliderImage;
    }
 
    public void setSliderImage(String sliderImage) {
        this.sliderImage = sliderImage;
        this.isset_sliderImage = true;
    }
 
    @JsonIgnore
    public boolean isEmptySliderImage() {
        return this.sliderImage == null || this.sliderImage.length() == 0;
    }
 
    public String getName() {
        return this.name;
    }
 
    public void setName(String name) {
        this.name = name;
        this.isset_name = true;
    }
 
    @JsonIgnore
    public boolean isEmptyName() {
        return this.name == null || this.name.length() == 0;
    }
 
    public String getIntro() {
        return this.intro;
    }
 
    public void setIntro(String intro) {
        this.intro = intro;
        this.isset_intro = true;
    }
 
    @JsonIgnore
    public boolean isEmptyIntro() {
        return this.intro == null || this.intro.length() == 0;
    }
 
    public String getKeyword() {
        return this.keyword;
    }
 
    public void setKeyword(String keyword) {
        this.keyword = keyword;
        this.isset_keyword = true;
    }
 
    @JsonIgnore
    public boolean isEmptyKeyword() {
        return this.keyword == null || this.keyword.length() == 0;
    }
 
    public Integer getBrandId() {
        return this.brandId;
    }
 
    public void setBrandId(Integer brandId) {
        this.brandId = brandId;
        this.isset_brandId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyBrandId() {
        return this.brandId == null;
    }
 
    public Integer getCategoryId() {
        return this.categoryId;
    }
 
    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
        this.isset_categoryId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyCategoryId() {
        return this.categoryId == null;
    }
 
    public String getGuaranteeIds() {
        return this.guaranteeIds;
    }
 
    public void setGuaranteeIds(String guaranteeIds) {
        this.guaranteeIds = guaranteeIds;
        this.isset_guaranteeIds = true;
    }
 
    @JsonIgnore
    public boolean isEmptyGuaranteeIds() {
        return this.guaranteeIds == null || this.guaranteeIds.length() == 0;
    }
 
    public Double getPrice() {
        return this.price;
    }
 
    public void setPrice(Double price) {
        this.price = price;
        this.isset_price = true;
    }
 
    @JsonIgnore
    public boolean isEmptyPrice() {
        return this.price == null;
    }
 
    public Double getSeckillPrice() {
        return this.seckillPrice;
    }
 
    public void setSeckillPrice(Double seckillPrice) {
        this.seckillPrice = seckillPrice;
        this.isset_seckillPrice = true;
    }
 
    @JsonIgnore
    public boolean isEmptySeckillPrice() {
        return this.seckillPrice == null;
    }
 
    public String getUnitName() {
        return this.unitName;
    }
 
    public void setUnitName(String unitName) {
        this.unitName = unitName;
        this.isset_unitName = true;
    }
 
    @JsonIgnore
    public boolean isEmptyUnitName() {
        return this.unitName == null || this.unitName.length() == 0;
    }
 
    public Integer getSales() {
        return this.sales;
    }
 
    public void setSales(Integer sales) {
        this.sales = sales;
        this.isset_sales = true;
    }
 
    @JsonIgnore
    public boolean isEmptySales() {
        return this.sales == null;
    }
 
    public Integer getTempId() {
        return this.tempId;
    }
 
    public void setTempId(Integer tempId) {
        this.tempId = tempId;
        this.isset_tempId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyTempId() {
        return this.tempId == null;
    }
 
    public Integer getSort() {
        return this.sort;
    }
 
    public void setSort(Integer sort) {
        this.sort = sort;
        this.isset_sort = true;
    }
 
    @JsonIgnore
    public boolean isEmptySort() {
        return this.sort == null;
    }
 
    public Integer getSpecType() {
        return this.specType;
    }
 
    public void setSpecType(Integer specType) {
        this.specType = specType;
        this.isset_specType = true;
    }
 
    @JsonIgnore
    public boolean isEmptySpecType() {
        return this.specType == null;
    }
 
    public Integer getIsShow() {
        return this.isShow;
    }
 
    public void setIsShow(Integer isShow) {
        this.isShow = isShow;
        this.isset_isShow = true;
    }
 
    @JsonIgnore
    public boolean isEmptyIsShow() {
        return this.isShow == null;
    }
 
    public Integer getAuditStatus() {
        return this.auditStatus;
    }
 
    public void setAuditStatus(Integer auditStatus) {
        this.auditStatus = auditStatus;
        this.isset_auditStatus = true;
    }
 
    @JsonIgnore
    public boolean isEmptyAuditStatus() {
        return this.auditStatus == null;
    }
 
    public String getReason() {
        return this.reason;
    }
 
    public void setReason(String reason) {
        this.reason = reason;
        this.isset_reason = true;
    }
 
    @JsonIgnore
    public boolean isEmptyReason() {
        return this.reason == null || this.reason.length() == 0;
    }
 
    public Integer getQuotaShow() {
        return this.quotaShow;
    }
 
    public void setQuotaShow(Integer quotaShow) {
        this.quotaShow = quotaShow;
        this.isset_quotaShow = true;
    }
 
    @JsonIgnore
    public boolean isEmptyQuotaShow() {
        return this.quotaShow == null;
    }
 
    public Integer getQuota() {
        return this.quota;
    }
 
    public void setQuota(Integer quota) {
        this.quota = quota;
        this.isset_quota = true;
    }
 
    @JsonIgnore
    public boolean isEmptyQuota() {
        return this.quota == 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("activityId=").append(this.activityId)
                .append("productId=").append(this.productId)
                .append("merId=").append(this.merId)
                .append("image=").append(this.image)
                .append("flatPattern=").append(this.flatPattern)
                .append("sliderImage=").append(this.sliderImage)
                .append("name=").append(this.name)
                .append("intro=").append(this.intro)
                .append("keyword=").append(this.keyword)
                .append("brandId=").append(this.brandId)
                .append("categoryId=").append(this.categoryId)
                .append("guaranteeIds=").append(this.guaranteeIds)
                .append("price=").append(this.price)
                .append("seckillPrice=").append(this.seckillPrice)
                .append("unitName=").append(this.unitName)
                .append("sales=").append(this.sales)
                .append("tempId=").append(this.tempId)
                .append("sort=").append(this.sort)
                .append("specType=").append(this.specType)
                .append("isShow=").append(this.isShow)
                .append("auditStatus=").append(this.auditStatus)
                .append("reason=").append(this.reason)
                .append("quotaShow=").append(this.quotaShow)
                .append("quota=").append(this.quota)
                .append("isDel=").append(this.isDel)
                .append("createTime=").append(this.createTime)
                .append("updateTime=").append(this.updateTime)
                .toString();
    }
 
    /**
     * 克隆
     */
    public EbSeckillProduct $clone() {
        EbSeckillProduct eb_seckill_product = new EbSeckillProduct();
 
        // 数据库名称
        //eb_seckill_product.setDatabaseName_(this.getDatabaseName_());
 
        // 主键
        if (this.isset_id) {
            eb_seckill_product.setId(this.getId());
        }
        // 普通属性
        if (this.isset_activityId) {
            eb_seckill_product.setActivityId(this.getActivityId());
        }
        if (this.isset_productId) {
            eb_seckill_product.setProductId(this.getProductId());
        }
        if (this.isset_merId) {
            eb_seckill_product.setMerId(this.getMerId());
        }
        if (this.isset_image) {
            eb_seckill_product.setImage(this.getImage());
        }
        if (this.isset_flatPattern) {
            eb_seckill_product.setFlatPattern(this.getFlatPattern());
        }
        if (this.isset_sliderImage) {
            eb_seckill_product.setSliderImage(this.getSliderImage());
        }
        if (this.isset_name) {
            eb_seckill_product.setName(this.getName());
        }
        if (this.isset_intro) {
            eb_seckill_product.setIntro(this.getIntro());
        }
        if (this.isset_keyword) {
            eb_seckill_product.setKeyword(this.getKeyword());
        }
        if (this.isset_brandId) {
            eb_seckill_product.setBrandId(this.getBrandId());
        }
        if (this.isset_categoryId) {
            eb_seckill_product.setCategoryId(this.getCategoryId());
        }
        if (this.isset_guaranteeIds) {
            eb_seckill_product.setGuaranteeIds(this.getGuaranteeIds());
        }
        if (this.isset_price) {
            eb_seckill_product.setPrice(this.getPrice());
        }
        if (this.isset_seckillPrice) {
            eb_seckill_product.setSeckillPrice(this.getSeckillPrice());
        }
        if (this.isset_unitName) {
            eb_seckill_product.setUnitName(this.getUnitName());
        }
        if (this.isset_sales) {
            eb_seckill_product.setSales(this.getSales());
        }
        if (this.isset_tempId) {
            eb_seckill_product.setTempId(this.getTempId());
        }
        if (this.isset_sort) {
            eb_seckill_product.setSort(this.getSort());
        }
        if (this.isset_specType) {
            eb_seckill_product.setSpecType(this.getSpecType());
        }
        if (this.isset_isShow) {
            eb_seckill_product.setIsShow(this.getIsShow());
        }
        if (this.isset_auditStatus) {
            eb_seckill_product.setAuditStatus(this.getAuditStatus());
        }
        if (this.isset_reason) {
            eb_seckill_product.setReason(this.getReason());
        }
        if (this.isset_quotaShow) {
            eb_seckill_product.setQuotaShow(this.getQuotaShow());
        }
        if (this.isset_quota) {
            eb_seckill_product.setQuota(this.getQuota());
        }
        if (this.isset_isDel) {
            eb_seckill_product.setIsDel(this.getIsDel());
        }
        if (this.isset_createTime) {
            eb_seckill_product.setCreateTime(this.getCreateTime());
        }
        if (this.isset_updateTime) {
            eb_seckill_product.setUpdateTime(this.getUpdateTime());
        }
        return eb_seckill_product;
    }
}