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
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
 
package com.ishop.model.po;
 
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.walker.jdbc.BasePo;
 
/**
 * 表名:EB_ORDER *
 * @author genrator
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
public class EbOrder extends BasePo<EbOrder> {
    // 序列化版本号
    private static final long serialVersionUID = 1L;
 
    // 主键
    private Long id = null;
    @JsonIgnore
    protected boolean isset_id = false;
 
    // 属性列表
    private String orderNo = null;
    @JsonIgnore
    protected boolean isset_orderNo = false;
 
    private Integer merId = null;
    @JsonIgnore
    protected boolean isset_merId = false;
 
    private Long uid = null;
    @JsonIgnore
    protected boolean isset_uid = false;
 
    private Integer totalNum = null;
    @JsonIgnore
    protected boolean isset_totalNum = false;
 
    private Double proTotalPrice = null;
    @JsonIgnore
    protected boolean isset_proTotalPrice = false;
 
    private Double totalPostage = null;
    @JsonIgnore
    protected boolean isset_totalPostage = false;
 
    private Double totalPrice = null;
    @JsonIgnore
    protected boolean isset_totalPrice = false;
 
    private Double couponPrice = null;
    @JsonIgnore
    protected boolean isset_couponPrice = false;
 
    private Integer useIntegral = null;
    @JsonIgnore
    protected boolean isset_useIntegral = false;
 
    private Double integralPrice = null;
    @JsonIgnore
    protected boolean isset_integralPrice = false;
 
    private Double payPrice = null;
    @JsonIgnore
    protected boolean isset_payPrice = false;
 
    private Double payPostage = null;
    @JsonIgnore
    protected boolean isset_payPostage = false;
 
    private Integer paid = null;
    @JsonIgnore
    protected boolean isset_paid = false;
 
    private Long payTime = null;
    @JsonIgnore
    protected boolean isset_payTime = false;
 
    private String payType = null;
    @JsonIgnore
    protected boolean isset_payType = false;
 
    private String payChannel = null;
    @JsonIgnore
    protected boolean isset_payChannel = false;
 
    private Integer status = null;
    @JsonIgnore
    protected boolean isset_status = false;
 
    private Integer refundStatus = null;
    @JsonIgnore
    protected boolean isset_refundStatus = false;
 
    private Integer cancelStatus = null;
    @JsonIgnore
    protected boolean isset_cancelStatus = false;
 
    private Integer isUserDel = null;
    @JsonIgnore
    protected boolean isset_isUserDel = false;
 
    private Integer isMerchantDel = null;
    @JsonIgnore
    protected boolean isset_isMerchantDel = false;
 
    private Integer gainIntegral = null;
    @JsonIgnore
    protected boolean isset_gainIntegral = false;
 
    private String outTradeNo = null;
    @JsonIgnore
    protected boolean isset_outTradeNo = false;
 
    private String redirect = null;
    @JsonIgnore
    protected boolean isset_redirect = false;
 
    private Integer type = null;
    @JsonIgnore
    protected boolean isset_type = false;
 
    private Integer level = null;
    @JsonIgnore
    protected boolean isset_level = false;
 
    private String platOrderNo = null;
    @JsonIgnore
    protected boolean isset_platOrderNo = false;
 
    private Integer isDel = null;
    @JsonIgnore
    protected boolean isset_isDel = false;
 
    private Long receivingTime = null;
    @JsonIgnore
    protected boolean isset_receivingTime = false;
 
    private Long createTime = null;
    @JsonIgnore
    protected boolean isset_createTime = false;
 
    private Long updateTime = null;
    @JsonIgnore
    protected boolean isset_updateTime = false;
 
    /**
     * 默认构造函数
     */
    public EbOrder() {
    }
 
    /**
     * 根据主键构造对象
     */
    public EbOrder(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 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 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 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 getTotalNum() {
        return this.totalNum;
    }
 
    public void setTotalNum(Integer totalNum) {
        this.totalNum = totalNum;
        this.isset_totalNum = true;
    }
 
    @JsonIgnore
    public boolean isEmptyTotalNum() {
        return this.totalNum == null;
    }
 
    public Double getProTotalPrice() {
        return this.proTotalPrice;
    }
 
    public void setProTotalPrice(Double proTotalPrice) {
        this.proTotalPrice = proTotalPrice;
        this.isset_proTotalPrice = true;
    }
 
    @JsonIgnore
    public boolean isEmptyProTotalPrice() {
        return this.proTotalPrice == null;
    }
 
    public Double getTotalPostage() {
        return this.totalPostage;
    }
 
    public void setTotalPostage(Double totalPostage) {
        this.totalPostage = totalPostage;
        this.isset_totalPostage = true;
    }
 
    @JsonIgnore
    public boolean isEmptyTotalPostage() {
        return this.totalPostage == null;
    }
 
    public Double getTotalPrice() {
        return this.totalPrice;
    }
 
    public void setTotalPrice(Double totalPrice) {
        this.totalPrice = totalPrice;
        this.isset_totalPrice = true;
    }
 
    @JsonIgnore
    public boolean isEmptyTotalPrice() {
        return this.totalPrice == null;
    }
 
    public Double getCouponPrice() {
        return this.couponPrice;
    }
 
    public void setCouponPrice(Double couponPrice) {
        this.couponPrice = couponPrice;
        this.isset_couponPrice = true;
    }
 
    @JsonIgnore
    public boolean isEmptyCouponPrice() {
        return this.couponPrice == null;
    }
 
    public Integer getUseIntegral() {
        return this.useIntegral;
    }
 
    public void setUseIntegral(Integer useIntegral) {
        this.useIntegral = useIntegral;
        this.isset_useIntegral = true;
    }
 
    @JsonIgnore
    public boolean isEmptyUseIntegral() {
        return this.useIntegral == null;
    }
 
    public Double getIntegralPrice() {
        return this.integralPrice;
    }
 
    public void setIntegralPrice(Double integralPrice) {
        this.integralPrice = integralPrice;
        this.isset_integralPrice = true;
    }
 
    @JsonIgnore
    public boolean isEmptyIntegralPrice() {
        return this.integralPrice == null;
    }
 
    public Double getPayPrice() {
        return this.payPrice;
    }
 
    public void setPayPrice(Double payPrice) {
        this.payPrice = payPrice;
        this.isset_payPrice = true;
    }
 
    @JsonIgnore
    public boolean isEmptyPayPrice() {
        return this.payPrice == null;
    }
 
    public Double getPayPostage() {
        return this.payPostage;
    }
 
    public void setPayPostage(Double payPostage) {
        this.payPostage = payPostage;
        this.isset_payPostage = true;
    }
 
    @JsonIgnore
    public boolean isEmptyPayPostage() {
        return this.payPostage == null;
    }
 
    public Integer getPaid() {
        return this.paid;
    }
 
    public void setPaid(Integer paid) {
        this.paid = paid;
        this.isset_paid = true;
    }
 
    @JsonIgnore
    public boolean isEmptyPaid() {
        return this.paid == null;
    }
 
    public Long getPayTime() {
        return this.payTime;
    }
 
    public void setPayTime(Long payTime) {
        this.payTime = payTime;
        this.isset_payTime = true;
    }
 
    @JsonIgnore
    public boolean isEmptyPayTime() {
        return this.payTime == null;
    }
 
    public String getPayType() {
        return this.payType;
    }
 
    public void setPayType(String payType) {
        this.payType = payType;
        this.isset_payType = true;
    }
 
    @JsonIgnore
    public boolean isEmptyPayType() {
        return this.payType == null || this.payType.length() == 0;
    }
 
    public String getPayChannel() {
        return this.payChannel;
    }
 
    public void setPayChannel(String payChannel) {
        this.payChannel = payChannel;
        this.isset_payChannel = true;
    }
 
    @JsonIgnore
    public boolean isEmptyPayChannel() {
        return this.payChannel == null || this.payChannel.length() == 0;
    }
 
    public Integer getStatus() {
        return this.status;
    }
 
    public void setStatus(Integer status) {
        this.status = status;
        this.isset_status = true;
    }
 
    @JsonIgnore
    public boolean isEmptyStatus() {
        return this.status == null;
    }
 
    public Integer getRefundStatus() {
        return this.refundStatus;
    }
 
    public void setRefundStatus(Integer refundStatus) {
        this.refundStatus = refundStatus;
        this.isset_refundStatus = true;
    }
 
    @JsonIgnore
    public boolean isEmptyRefundStatus() {
        return this.refundStatus == null;
    }
 
    public Integer getCancelStatus() {
        return this.cancelStatus;
    }
 
    public void setCancelStatus(Integer cancelStatus) {
        this.cancelStatus = cancelStatus;
        this.isset_cancelStatus = true;
    }
 
    @JsonIgnore
    public boolean isEmptyCancelStatus() {
        return this.cancelStatus == null;
    }
 
    public Integer getIsUserDel() {
        return this.isUserDel;
    }
 
    public void setIsUserDel(Integer isUserDel) {
        this.isUserDel = isUserDel;
        this.isset_isUserDel = true;
    }
 
    @JsonIgnore
    public boolean isEmptyIsUserDel() {
        return this.isUserDel == null;
    }
 
    public Integer getIsMerchantDel() {
        return this.isMerchantDel;
    }
 
    public void setIsMerchantDel(Integer isMerchantDel) {
        this.isMerchantDel = isMerchantDel;
        this.isset_isMerchantDel = true;
    }
 
    @JsonIgnore
    public boolean isEmptyIsMerchantDel() {
        return this.isMerchantDel == null;
    }
 
    public Integer getGainIntegral() {
        return this.gainIntegral;
    }
 
    public void setGainIntegral(Integer gainIntegral) {
        this.gainIntegral = gainIntegral;
        this.isset_gainIntegral = true;
    }
 
    @JsonIgnore
    public boolean isEmptyGainIntegral() {
        return this.gainIntegral == null;
    }
 
    public String getOutTradeNo() {
        return this.outTradeNo;
    }
 
    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
        this.isset_outTradeNo = true;
    }
 
    @JsonIgnore
    public boolean isEmptyOutTradeNo() {
        return this.outTradeNo == null || this.outTradeNo.length() == 0;
    }
 
    public String getRedirect() {
        return this.redirect;
    }
 
    public void setRedirect(String redirect) {
        this.redirect = redirect;
        this.isset_redirect = true;
    }
 
    @JsonIgnore
    public boolean isEmptyRedirect() {
        return this.redirect == null || this.redirect.length() == 0;
    }
 
    public Integer getType() {
        return this.type;
    }
 
    public void setType(Integer type) {
        this.type = type;
        this.isset_type = true;
    }
 
    @JsonIgnore
    public boolean isEmptyType() {
        return this.type == null;
    }
 
    public Integer getLevel() {
        return this.level;
    }
 
    public void setLevel(Integer level) {
        this.level = level;
        this.isset_level = true;
    }
 
    @JsonIgnore
    public boolean isEmptyLevel() {
        return this.level == null;
    }
 
    public String getPlatOrderNo() {
        return this.platOrderNo;
    }
 
    public void setPlatOrderNo(String platOrderNo) {
        this.platOrderNo = platOrderNo;
        this.isset_platOrderNo = true;
    }
 
    @JsonIgnore
    public boolean isEmptyPlatOrderNo() {
        return this.platOrderNo == null || this.platOrderNo.length() == 0;
    }
 
    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 getReceivingTime() {
        return this.receivingTime;
    }
 
    public void setReceivingTime(Long receivingTime) {
        this.receivingTime = receivingTime;
        this.isset_receivingTime = true;
    }
 
    @JsonIgnore
    public boolean isEmptyReceivingTime() {
        return this.receivingTime == 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("orderNo=").append(this.orderNo)
                .append("merId=").append(this.merId)
                .append("uid=").append(this.uid)
                .append("totalNum=").append(this.totalNum)
                .append("proTotalPrice=").append(this.proTotalPrice)
                .append("totalPostage=").append(this.totalPostage)
                .append("totalPrice=").append(this.totalPrice)
                .append("couponPrice=").append(this.couponPrice)
                .append("useIntegral=").append(this.useIntegral)
                .append("integralPrice=").append(this.integralPrice)
                .append("payPrice=").append(this.payPrice)
                .append("payPostage=").append(this.payPostage)
                .append("paid=").append(this.paid)
                .append("payTime=").append(this.payTime)
                .append("payType=").append(this.payType)
                .append("payChannel=").append(this.payChannel)
                .append("status=").append(this.status)
                .append("refundStatus=").append(this.refundStatus)
                .append("cancelStatus=").append(this.cancelStatus)
                .append("isUserDel=").append(this.isUserDel)
                .append("isMerchantDel=").append(this.isMerchantDel)
                .append("gainIntegral=").append(this.gainIntegral)
                .append("outTradeNo=").append(this.outTradeNo)
                .append("redirect=").append(this.redirect)
                .append("type=").append(this.type)
                .append("level=").append(this.level)
                .append("platOrderNo=").append(this.platOrderNo)
                .append("isDel=").append(this.isDel)
                .append("receivingTime=").append(this.receivingTime)
                .append("createTime=").append(this.createTime)
                .append("updateTime=").append(this.updateTime)
                .toString();
    }
 
    /**
     * 克隆
     */
    public EbOrder $clone() {
        EbOrder eb_order = new EbOrder();
 
        // 数据库名称
        //eb_order.setDatabaseName_(this.getDatabaseName_());
 
        // 主键
        if (this.isset_id) {
            eb_order.setId(this.getId());
        }
        // 普通属性
        if (this.isset_orderNo) {
            eb_order.setOrderNo(this.getOrderNo());
        }
        if (this.isset_merId) {
            eb_order.setMerId(this.getMerId());
        }
        if (this.isset_uid) {
            eb_order.setUid(this.getUid());
        }
        if (this.isset_totalNum) {
            eb_order.setTotalNum(this.getTotalNum());
        }
        if (this.isset_proTotalPrice) {
            eb_order.setProTotalPrice(this.getProTotalPrice());
        }
        if (this.isset_totalPostage) {
            eb_order.setTotalPostage(this.getTotalPostage());
        }
        if (this.isset_totalPrice) {
            eb_order.setTotalPrice(this.getTotalPrice());
        }
        if (this.isset_couponPrice) {
            eb_order.setCouponPrice(this.getCouponPrice());
        }
        if (this.isset_useIntegral) {
            eb_order.setUseIntegral(this.getUseIntegral());
        }
        if (this.isset_integralPrice) {
            eb_order.setIntegralPrice(this.getIntegralPrice());
        }
        if (this.isset_payPrice) {
            eb_order.setPayPrice(this.getPayPrice());
        }
        if (this.isset_payPostage) {
            eb_order.setPayPostage(this.getPayPostage());
        }
        if (this.isset_paid) {
            eb_order.setPaid(this.getPaid());
        }
        if (this.isset_payTime) {
            eb_order.setPayTime(this.getPayTime());
        }
        if (this.isset_payType) {
            eb_order.setPayType(this.getPayType());
        }
        if (this.isset_payChannel) {
            eb_order.setPayChannel(this.getPayChannel());
        }
        if (this.isset_status) {
            eb_order.setStatus(this.getStatus());
        }
        if (this.isset_refundStatus) {
            eb_order.setRefundStatus(this.getRefundStatus());
        }
        if (this.isset_cancelStatus) {
            eb_order.setCancelStatus(this.getCancelStatus());
        }
        if (this.isset_isUserDel) {
            eb_order.setIsUserDel(this.getIsUserDel());
        }
        if (this.isset_isMerchantDel) {
            eb_order.setIsMerchantDel(this.getIsMerchantDel());
        }
        if (this.isset_gainIntegral) {
            eb_order.setGainIntegral(this.getGainIntegral());
        }
        if (this.isset_outTradeNo) {
            eb_order.setOutTradeNo(this.getOutTradeNo());
        }
        if (this.isset_redirect) {
            eb_order.setRedirect(this.getRedirect());
        }
        if (this.isset_type) {
            eb_order.setType(this.getType());
        }
        if (this.isset_level) {
            eb_order.setLevel(this.getLevel());
        }
        if (this.isset_platOrderNo) {
            eb_order.setPlatOrderNo(this.getPlatOrderNo());
        }
        if (this.isset_isDel) {
            eb_order.setIsDel(this.getIsDel());
        }
        if (this.isset_receivingTime) {
            eb_order.setReceivingTime(this.getReceivingTime());
        }
        if (this.isset_createTime) {
            eb_order.setCreateTime(this.getCreateTime());
        }
        if (this.isset_updateTime) {
            eb_order.setUpdateTime(this.getUpdateTime());
        }
        return eb_order;
    }
}