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
package com.iplatform.model.po;
 
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.walker.jdbc.BasePo;
 
/**
 * 表名:S_PAY_ORDER *
 * @author genrator
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
public class S_pay_order extends BasePo<S_pay_order> {
    // 序列化版本号
    private static final long serialVersionUID = 1L;
 
    /**
     * 用于兼容老写法
     */
    @JsonIgnore
    public static final S_pay_order ROW_MAPPER = new S_pay_order();
 
    // 主键
    private Long id = null;
    @JsonIgnore
    protected boolean isset_id = false;
 
    // 属性列表
    private Long create_time = null;
    @JsonIgnore
    protected boolean isset_create_time = false;
 
    private Long org_id = null;
    @JsonIgnore
    protected boolean isset_org_id = false;
 
    private String pay_definition_id = null;
    @JsonIgnore
    protected boolean isset_pay_definition_id = false;
 
    private String service_provider = null;
    @JsonIgnore
    protected boolean isset_service_provider = false;
 
    private String version = null;
    @JsonIgnore
    protected boolean isset_version = false;
 
    private Integer pay_type = null;
    @JsonIgnore
    protected boolean isset_pay_type = false;
 
    private String pay_status = null;
    @JsonIgnore
    protected boolean isset_pay_status = false;
 
    private String pay_status_msg = null;
    @JsonIgnore
    protected boolean isset_pay_status_msg = false;
 
    private Long pay_success_time = null;
    @JsonIgnore
    protected boolean isset_pay_success_time = false;
 
    private String trade_no = null;
    @JsonIgnore
    protected boolean isset_trade_no = false;
 
    private Integer pay_channel = null;
    @JsonIgnore
    protected boolean isset_pay_channel = false;
 
    private String title = null;
    @JsonIgnore
    protected boolean isset_title = false;
 
    private String attach = null;
    @JsonIgnore
    protected boolean isset_attach = false;
 
    private Long total_money = null;
    @JsonIgnore
    protected boolean isset_total_money = false;
 
    private Long fee = null;
    @JsonIgnore
    protected boolean isset_fee = false;
 
    private String nonce = null;
    @JsonIgnore
    protected boolean isset_nonce = false;
 
    private String ip = null;
    @JsonIgnore
    protected boolean isset_ip = false;
 
    private String device_info = null;
    @JsonIgnore
    protected boolean isset_device_info = false;
 
    private String buyer_id = null;
    @JsonIgnore
    protected boolean isset_buyer_id = false;
 
    private String receiver_id = null;
    @JsonIgnore
    protected boolean isset_receiver_id = false;
 
    private String third_pay_acct = null;
    @JsonIgnore
    protected boolean isset_third_pay_acct = false;
 
    private String third_pay_info = null;
    @JsonIgnore
    protected boolean isset_third_pay_info = false;
 
    private String third_pay_time = null;
    @JsonIgnore
    protected boolean isset_third_pay_time = false;
 
    private String third_trade_no = null;
    @JsonIgnore
    protected boolean isset_third_trade_no = false;
 
    private String third_notify_id = null;
    @JsonIgnore
    protected boolean isset_third_notify_id = false;
 
    /**
     * 默认构造函数
     */
    public S_pay_order() {
    }
 
    /**
     * 根据主键构造对象
     */
    public S_pay_order(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 getCreate_time() {
        return this.create_time;
    }
 
    public void setCreate_time(Long create_time) {
        this.create_time = create_time;
        this.isset_create_time = true;
    }
 
    @JsonIgnore
    public boolean isEmptyCreate_time() {
        return this.create_time == null;
    }
 
    public Long getOrg_id() {
        return this.org_id;
    }
 
    public void setOrg_id(Long org_id) {
        this.org_id = org_id;
        this.isset_org_id = true;
    }
 
    @JsonIgnore
    public boolean isEmptyOrg_id() {
        return this.org_id == null;
    }
 
    public String getPay_definition_id() {
        return this.pay_definition_id;
    }
 
    public void setPay_definition_id(String pay_definition_id) {
        this.pay_definition_id = pay_definition_id;
        this.isset_pay_definition_id = true;
    }
 
    @JsonIgnore
    public boolean isEmptyPay_definition_id() {
        return this.pay_definition_id == null || this.pay_definition_id.length() == 0;
    }
 
    public String getService_provider() {
        return this.service_provider;
    }
 
    public void setService_provider(String service_provider) {
        this.service_provider = service_provider;
        this.isset_service_provider = true;
    }
 
    @JsonIgnore
    public boolean isEmptyService_provider() {
        return this.service_provider == null || this.service_provider.length() == 0;
    }
 
    public String getVersion() {
        return this.version;
    }
 
    public void setVersion(String version) {
        this.version = version;
        this.isset_version = true;
    }
 
    @JsonIgnore
    public boolean isEmptyVersion() {
        return this.version == null || this.version.length() == 0;
    }
 
    public Integer getPay_type() {
        return this.pay_type;
    }
 
    public void setPay_type(Integer pay_type) {
        this.pay_type = pay_type;
        this.isset_pay_type = true;
    }
 
    @JsonIgnore
    public boolean isEmptyPay_type() {
        return this.pay_type == null;
    }
 
    public String getPay_status() {
        return this.pay_status;
    }
 
    public void setPay_status(String pay_status) {
        this.pay_status = pay_status;
        this.isset_pay_status = true;
    }
 
    @JsonIgnore
    public boolean isEmptyPay_status() {
        return this.pay_status == null || this.pay_status.length() == 0;
    }
 
    public String getPay_status_msg() {
        return this.pay_status_msg;
    }
 
    public void setPay_status_msg(String pay_status_msg) {
        this.pay_status_msg = pay_status_msg;
        this.isset_pay_status_msg = true;
    }
 
    @JsonIgnore
    public boolean isEmptyPay_status_msg() {
        return this.pay_status_msg == null || this.pay_status_msg.length() == 0;
    }
 
    public Long getPay_success_time() {
        return this.pay_success_time;
    }
 
    public void setPay_success_time(Long pay_success_time) {
        this.pay_success_time = pay_success_time;
        this.isset_pay_success_time = true;
    }
 
    @JsonIgnore
    public boolean isEmptyPay_success_time() {
        return this.pay_success_time == null;
    }
 
    public String getTrade_no() {
        return this.trade_no;
    }
 
    public void setTrade_no(String trade_no) {
        this.trade_no = trade_no;
        this.isset_trade_no = true;
    }
 
    @JsonIgnore
    public boolean isEmptyTrade_no() {
        return this.trade_no == null || this.trade_no.length() == 0;
    }
 
    public Integer getPay_channel() {
        return this.pay_channel;
    }
 
    public void setPay_channel(Integer pay_channel) {
        this.pay_channel = pay_channel;
        this.isset_pay_channel = true;
    }
 
    @JsonIgnore
    public boolean isEmptyPay_channel() {
        return this.pay_channel == null;
    }
 
    public String getTitle() {
        return this.title;
    }
 
    public void setTitle(String title) {
        this.title = title;
        this.isset_title = true;
    }
 
    @JsonIgnore
    public boolean isEmptyTitle() {
        return this.title == null || this.title.length() == 0;
    }
 
    public String getAttach() {
        return this.attach;
    }
 
    public void setAttach(String attach) {
        this.attach = attach;
        this.isset_attach = true;
    }
 
    @JsonIgnore
    public boolean isEmptyAttach() {
        return this.attach == null || this.attach.length() == 0;
    }
 
    public Long getTotal_money() {
        return this.total_money;
    }
 
    public void setTotal_money(Long total_money) {
        this.total_money = total_money;
        this.isset_total_money = true;
    }
 
    @JsonIgnore
    public boolean isEmptyTotal_money() {
        return this.total_money == null;
    }
 
    public Long getFee() {
        return this.fee;
    }
 
    public void setFee(Long fee) {
        this.fee = fee;
        this.isset_fee = true;
    }
 
    @JsonIgnore
    public boolean isEmptyFee() {
        return this.fee == null;
    }
 
    public String getNonce() {
        return this.nonce;
    }
 
    public void setNonce(String nonce) {
        this.nonce = nonce;
        this.isset_nonce = true;
    }
 
    @JsonIgnore
    public boolean isEmptyNonce() {
        return this.nonce == null || this.nonce.length() == 0;
    }
 
    public String getIp() {
        return this.ip;
    }
 
    public void setIp(String ip) {
        this.ip = ip;
        this.isset_ip = true;
    }
 
    @JsonIgnore
    public boolean isEmptyIp() {
        return this.ip == null || this.ip.length() == 0;
    }
 
    public String getDevice_info() {
        return this.device_info;
    }
 
    public void setDevice_info(String device_info) {
        this.device_info = device_info;
        this.isset_device_info = true;
    }
 
    @JsonIgnore
    public boolean isEmptyDevice_info() {
        return this.device_info == null || this.device_info.length() == 0;
    }
 
    public String getBuyer_id() {
        return this.buyer_id;
    }
 
    public void setBuyer_id(String buyer_id) {
        this.buyer_id = buyer_id;
        this.isset_buyer_id = true;
    }
 
    @JsonIgnore
    public boolean isEmptyBuyer_id() {
        return this.buyer_id == null || this.buyer_id.length() == 0;
    }
 
    public String getReceiver_id() {
        return this.receiver_id;
    }
 
    public void setReceiver_id(String receiver_id) {
        this.receiver_id = receiver_id;
        this.isset_receiver_id = true;
    }
 
    @JsonIgnore
    public boolean isEmptyReceiver_id() {
        return this.receiver_id == null || this.receiver_id.length() == 0;
    }
 
    public String getThird_pay_acct() {
        return this.third_pay_acct;
    }
 
    public void setThird_pay_acct(String third_pay_acct) {
        this.third_pay_acct = third_pay_acct;
        this.isset_third_pay_acct = true;
    }
 
    @JsonIgnore
    public boolean isEmptyThird_pay_acct() {
        return this.third_pay_acct == null || this.third_pay_acct.length() == 0;
    }
 
    public String getThird_pay_info() {
        return this.third_pay_info;
    }
 
    public void setThird_pay_info(String third_pay_info) {
        this.third_pay_info = third_pay_info;
        this.isset_third_pay_info = true;
    }
 
    @JsonIgnore
    public boolean isEmptyThird_pay_info() {
        return this.third_pay_info == null || this.third_pay_info.length() == 0;
    }
 
    public String getThird_pay_time() {
        return this.third_pay_time;
    }
 
    public void setThird_pay_time(String third_pay_time) {
        this.third_pay_time = third_pay_time;
        this.isset_third_pay_time = true;
    }
 
    @JsonIgnore
    public boolean isEmptyThird_pay_time() {
        return this.third_pay_time == null || this.third_pay_time.length() == 0;
    }
 
    public String getThird_trade_no() {
        return this.third_trade_no;
    }
 
    public void setThird_trade_no(String third_trade_no) {
        this.third_trade_no = third_trade_no;
        this.isset_third_trade_no = true;
    }
 
    @JsonIgnore
    public boolean isEmptyThird_trade_no() {
        return this.third_trade_no == null || this.third_trade_no.length() == 0;
    }
 
    public String getThird_notify_id() {
        return this.third_notify_id;
    }
 
    public void setThird_notify_id(String third_notify_id) {
        this.third_notify_id = third_notify_id;
        this.isset_third_notify_id = true;
    }
 
    @JsonIgnore
    public boolean isEmptyThird_notify_id() {
        return this.third_notify_id == null || this.third_notify_id.length() == 0;
    }
 
    /**
     * 重写 toString() 方法
     */
    @Override
    public String toString() {
        return new StringBuilder()
                .append("id=").append(this.id)
                .append("create_time=").append(this.create_time)
                .append("org_id=").append(this.org_id)
                .append("pay_definition_id=").append(this.pay_definition_id)
                .append("service_provider=").append(this.service_provider)
                .append("version=").append(this.version)
                .append("pay_type=").append(this.pay_type)
                .append("pay_status=").append(this.pay_status)
                .append("pay_status_msg=").append(this.pay_status_msg)
                .append("pay_success_time=").append(this.pay_success_time)
                .append("trade_no=").append(this.trade_no)
                .append("pay_channel=").append(this.pay_channel)
                .append("title=").append(this.title)
                .append("attach=").append(this.attach)
                .append("total_money=").append(this.total_money)
                .append("fee=").append(this.fee)
                .append("nonce=").append(this.nonce)
                .append("ip=").append(this.ip)
                .append("device_info=").append(this.device_info)
                .append("buyer_id=").append(this.buyer_id)
                .append("receiver_id=").append(this.receiver_id)
                .append("third_pay_acct=").append(this.third_pay_acct)
                .append("third_pay_info=").append(this.third_pay_info)
                .append("third_pay_time=").append(this.third_pay_time)
                .append("third_trade_no=").append(this.third_trade_no)
                .append("third_notify_id=").append(this.third_notify_id)
                .toString();
    }
 
    /**
     * 克隆
     */
    public S_pay_order $clone() {
        S_pay_order s_pay_order = new S_pay_order();
 
        // 数据库名称
        //s_pay_order.setDatabaseName_(this.getDatabaseName_());
 
        // 主键
        if (this.isset_id) {
            s_pay_order.setId(this.getId());
        }
        // 普通属性
        if (this.isset_create_time) {
            s_pay_order.setCreate_time(this.getCreate_time());
        }
        if (this.isset_org_id) {
            s_pay_order.setOrg_id(this.getOrg_id());
        }
        if (this.isset_pay_definition_id) {
            s_pay_order.setPay_definition_id(this.getPay_definition_id());
        }
        if (this.isset_service_provider) {
            s_pay_order.setService_provider(this.getService_provider());
        }
        if (this.isset_version) {
            s_pay_order.setVersion(this.getVersion());
        }
        if (this.isset_pay_type) {
            s_pay_order.setPay_type(this.getPay_type());
        }
        if (this.isset_pay_status) {
            s_pay_order.setPay_status(this.getPay_status());
        }
        if (this.isset_pay_status_msg) {
            s_pay_order.setPay_status_msg(this.getPay_status_msg());
        }
        if (this.isset_pay_success_time) {
            s_pay_order.setPay_success_time(this.getPay_success_time());
        }
        if (this.isset_trade_no) {
            s_pay_order.setTrade_no(this.getTrade_no());
        }
        if (this.isset_pay_channel) {
            s_pay_order.setPay_channel(this.getPay_channel());
        }
        if (this.isset_title) {
            s_pay_order.setTitle(this.getTitle());
        }
        if (this.isset_attach) {
            s_pay_order.setAttach(this.getAttach());
        }
        if (this.isset_total_money) {
            s_pay_order.setTotal_money(this.getTotal_money());
        }
        if (this.isset_fee) {
            s_pay_order.setFee(this.getFee());
        }
        if (this.isset_nonce) {
            s_pay_order.setNonce(this.getNonce());
        }
        if (this.isset_ip) {
            s_pay_order.setIp(this.getIp());
        }
        if (this.isset_device_info) {
            s_pay_order.setDevice_info(this.getDevice_info());
        }
        if (this.isset_buyer_id) {
            s_pay_order.setBuyer_id(this.getBuyer_id());
        }
        if (this.isset_receiver_id) {
            s_pay_order.setReceiver_id(this.getReceiver_id());
        }
        if (this.isset_third_pay_acct) {
            s_pay_order.setThird_pay_acct(this.getThird_pay_acct());
        }
        if (this.isset_third_pay_info) {
            s_pay_order.setThird_pay_info(this.getThird_pay_info());
        }
        if (this.isset_third_pay_time) {
            s_pay_order.setThird_pay_time(this.getThird_pay_time());
        }
        if (this.isset_third_trade_no) {
            s_pay_order.setThird_trade_no(this.getThird_trade_no());
        }
        if (this.isset_third_notify_id) {
            s_pay_order.setThird_notify_id(this.getThird_notify_id());
        }
        return s_pay_order;
    }
}