luqingyang
2023-10-24 cb642724c54d7d850aec5e5ee27fcc7186f352d7
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
 
package com.consum.model.po;
 
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.walker.jdbc.BasePo;
 
import java.util.List;
 
/**
 * 表名:FIN_SYS_TENANT_USER *
 *
 * @author genrator
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
public class FinSysTenantUser extends BasePo<FinSysTenantUser> {
    // 序列化版本号
    private static final long serialVersionUID = 1L;
 
    // 主键
    private Long id = null;
    @JsonIgnore
    protected boolean isset_id = false;
 
    // 属性列表
    private String userName = null;
    @JsonIgnore
    protected boolean isset_userName = false;
 
    private String userCode = null;
    @JsonIgnore
    protected boolean isset_userCode = false;
 
    private String tenantId = null;
    @JsonIgnore
    protected boolean isset_tenantId = false;
 
    private String createBy = null;
    @JsonIgnore
    protected boolean isset_createBy = false;
 
    private Long createTime = null;
    @JsonIgnore
    protected boolean isset_createTime = false;
 
    private String updateBy = null;
    @JsonIgnore
    protected boolean isset_updateBy = false;
 
    private Long updateTime = null;
    @JsonIgnore
    protected boolean isset_updateTime = false;
 
    private Integer sex = null;
    @JsonIgnore
    protected boolean isset_sex = false;
 
    private Integer status = null;
    @JsonIgnore
    protected boolean isset_status = false;
 
    private Long seq = null;
    @JsonIgnore
    protected boolean isset_seq = false;
 
    private String remark = null;
    @JsonIgnore
    protected boolean isset_remark = false;
 
    private Long sysUserId = null;
    @JsonIgnore
    protected boolean isset_sysUserId = false;
 
    private Long sysDeptId = null;
    @JsonIgnore
    protected boolean isset_sysDeptId = false;
 
    private String tenantCode = null;
    @JsonIgnore
    protected boolean isset_tenantCode = false;
 
    private String userPhone = null;
    @JsonIgnore
    protected boolean isset_userPhone = false;
 
    private Integer isDelete = null;
    @JsonIgnore
    protected boolean isset_isDelete = false;
 
    private Integer kfStatus = null;
    @JsonIgnore
    protected boolean isset_kfStatus = false;
 
    private String agentJid = null;
    @JsonIgnore
    protected boolean isset_agentJid = false;
 
    private String workgroupJid = null;
    @JsonIgnore
    protected boolean isset_workgroupJid = false;
 
    private String clientNumber = null;
    @JsonIgnore
    protected boolean isset_clientNumber = false;
 
    private String clientPwd = null;
    @JsonIgnore
    protected boolean isset_clientPwd = false;
 
    private Long  supplierId = null;
 
    @JsonIgnore
    protected boolean isset_supplierId = false;
 
    private String tenantName = null;
    @JsonIgnore
    protected boolean isset_tenantName = false;
 
    private Integer lv = null;
    @JsonIgnore
    protected boolean isset_lv = false;
 
    private String roleStr = null;
    @JsonIgnore
    protected boolean isset_roleStr = false;
 
    private String avatar = null;
    @JsonIgnore
    protected boolean isset_avatar = false;
    public String getAvatar() {
        return avatar;
    }
    private String email = null;
    @JsonIgnore
    protected boolean isset_email = false;
 
    public void setAvatar(String avatar) {
        this.avatar = avatar;
        this.isset_avatar = true;
    }
 
    public String getEmail() {
        return email;
    }
 
    public void setEmail(String email) {
        this.email = email;
        this.isset_email = true;
    }
 
    public Long getSupplierId() {
        return supplierId;
    }
 
    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
        this.isset_supplierId=true;
    }
 
    private List<Long> roleList = null;
 
 
 
    public List<Long> getRoleList() {
        return roleList;
    }
 
    public void setRoleList(List<Long> roleList) {
        this.roleList = roleList;
    }
 
    private Boolean isOnline = null;
    @JsonIgnore
    protected boolean isset_isOnline = false;
 
    private String parentCode = null;
    @JsonIgnore
    protected boolean isset_parentCode = false;
 
    private String isSupplier; //是否为运维商   如果有运维商id  则代表是,反之不是
 
    public String getIsSupplier() {
        return isSupplier;
    }
 
    public void setIsSupplier(String isSupplier) {
        this.isSupplier = isSupplier;
    }
 
    /**
     * 默认构造函数
     */
    public FinSysTenantUser() {
    }
 
    /**
     * 根据主键构造对象
     */
    public FinSysTenantUser(Long id) {
        this.setId(id);
    }
 
    /**
     * @Description 根据用户id构建对象
     * @Author wh
     * @Date 2023/7/18 10:57
     */
    public FinSysTenantUser(Long sysUserId, Long seq) {
        this.sysUserId = sysUserId;
    }
 
    /**
     * 设置主键值
     */
    @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 getUserName() {
        return this.userName;
    }
 
    public void setUserName(String userName) {
        this.userName = userName;
        this.isset_userName = true;
    }
 
    @JsonIgnore
    public boolean isEmptyUserName() {
        return this.userName == null || this.userName.length() == 0;
    }
 
    public String getUserCode() {
        return this.userCode;
    }
 
    public void setUserCode(String userCode) {
        this.userCode = userCode;
        this.isset_userCode = true;
    }
 
    @JsonIgnore
    public boolean isEmptyUserCode() {
        return this.userCode == null || this.userCode.length() == 0;
    }
 
    public String getTenantId() {
        return this.tenantId;
    }
 
    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
        this.isset_tenantId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyTenantId() {
        return this.tenantId == null || this.tenantId.length() == 0;
    }
 
    public String getCreateBy() {
        return this.createBy;
    }
 
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
        this.isset_createBy = true;
    }
 
    @JsonIgnore
    public boolean isEmptyCreateBy() {
        return this.createBy == null || this.createBy.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 String getUpdateBy() {
        return this.updateBy;
    }
 
    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
        this.isset_updateBy = true;
    }
 
    @JsonIgnore
    public boolean isEmptyUpdateBy() {
        return this.updateBy == null || this.updateBy.length() == 0;
    }
 
    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;
    }
 
    public Integer getSex() {
        return this.sex;
    }
 
    public void setSex(Integer sex) {
        this.sex = sex;
        this.isset_sex = true;
    }
 
    @JsonIgnore
    public boolean isEmptySex() {
        return this.sex == null;
    }
 
    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 Long getSeq() {
        return this.seq;
    }
 
    public void setSeq(Long seq) {
        this.seq = seq;
        this.isset_seq = true;
    }
 
    @JsonIgnore
    public boolean isEmptySeq() {
        return this.seq == null;
    }
 
    public String getRemark() {
        return this.remark;
    }
 
    public void setRemark(String remark) {
        this.remark = remark;
        this.isset_remark = true;
    }
 
    @JsonIgnore
    public boolean isEmptyRemark() {
        return this.remark == null || this.remark.length() == 0;
    }
 
    public Long getSysUserId() {
        return this.sysUserId;
    }
 
    public void setSysUserId(Long sysUserId) {
        this.sysUserId = sysUserId;
        this.isset_sysUserId = true;
    }
 
    @JsonIgnore
    public boolean isEmptySysUserId() {
        return this.sysUserId == null;
    }
 
    public Long getSysDeptId() {
        return this.sysDeptId;
    }
 
    public void setSysDeptId(Long sysDeptId) {
        this.sysDeptId = sysDeptId;
        this.isset_sysDeptId = true;
    }
 
    @JsonIgnore
    public boolean isEmptySysDeptId() {
        return this.sysDeptId == null;
    }
 
    public String getTenantCode() {
        return this.tenantCode;
    }
 
    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
        this.isset_tenantCode = true;
    }
 
    @JsonIgnore
    public boolean isEmptyTenantCode() {
        return this.tenantCode == null || this.tenantCode.length() == 0;
    }
 
    public String getUserPhone() {
        return this.userPhone;
    }
 
    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
        this.isset_userPhone = true;
    }
 
    @JsonIgnore
    public boolean isEmptyUserPhone() {
        return this.userPhone == null || this.userPhone.length() == 0;
    }
 
    public Integer getIsDelete() {
        return this.isDelete;
    }
 
    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
        this.isset_isDelete = true;
    }
 
    @JsonIgnore
    public boolean isEmptyIsDelete() {
        return this.isDelete == null;
    }
 
    public Integer getKfStatus() {
        return this.kfStatus;
    }
 
    public void setKfStatus(Integer kfStatus) {
        this.kfStatus = kfStatus;
        this.isset_kfStatus = true;
    }
 
    @JsonIgnore
    public boolean isEmptyKfStatus() {
        return this.kfStatus == null;
    }
 
    public String getAgentJid() {
        return this.agentJid;
    }
 
    public void setAgentJid(String agentJid) {
        this.agentJid = agentJid;
        this.isset_agentJid = true;
    }
 
    @JsonIgnore
    public boolean isEmptyAgentJid() {
        return this.agentJid == null || this.agentJid.length() == 0;
    }
 
    public String getWorkgroupJid() {
        return this.workgroupJid;
    }
 
    public void setWorkgroupJid(String workgroupJid) {
        this.workgroupJid = workgroupJid;
        this.isset_workgroupJid = true;
    }
 
    @JsonIgnore
    public boolean isEmptyWorkgroupJid() {
        return this.workgroupJid == null || this.workgroupJid.length() == 0;
    }
 
    public String getClientNumber() {
        return this.clientNumber;
    }
 
    public void setClientNumber(String clientNumber) {
        this.clientNumber = clientNumber;
        this.isset_clientNumber = true;
    }
 
    @JsonIgnore
    public boolean isEmptyClientNumber() {
        return this.clientNumber == null || this.clientNumber.length() == 0;
    }
 
    public String getClientPwd() {
        return this.clientPwd;
    }
 
    public void setClientPwd(String clientPwd) {
        this.clientPwd = clientPwd;
        this.isset_clientPwd = true;
    }
 
    @JsonIgnore
    public boolean isEmptyClientPwd() {
        return this.clientPwd == null || this.clientPwd.length() == 0;
    }
 
    public String getTenantName() {
        return this.tenantName;
    }
 
    public void setTenantName(String tenantName) {
        this.tenantName = tenantName;
        this.isset_tenantName = true;
    }
 
    @JsonIgnore
    public boolean isEmptyTenantName() {
        return this.tenantName == null || this.tenantName.length() == 0;
    }
 
    public Integer getLv() {
        return this.lv;
    }
 
    public void setLv(Integer lv) {
        this.lv = lv;
        this.isset_lv = true;
    }
 
    public Boolean getIsOnline() {
        return this.isOnline;
    }
 
    public void setIsOnline(Boolean isOnline) {
        this.isOnline = isOnline;
        this.isset_isOnline = true;
    }
 
    public String getParentCode() {
        return this.parentCode;
    }
 
    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
        this.isset_parentCode = true;
    }
 
 
 
    //roleStr
    @JsonIgnore
    public boolean isEmptRoleStr() {
        return this.roleStr == null;
    }
 
 
    public String getRoleStr() {
        return this.roleStr;
    }
 
    public void setRoleStr(String roleStr) {
        this.roleStr = roleStr;
        this.isset_roleStr = true;
    }
 
 
 
    @JsonIgnore
    public boolean isEmptLv() {
        return this.lv == null;
    }
 
 
    /**
     * 重写 toString() 方法
     */
    @Override
    public String toString() {
        return new StringBuilder()
                .append("id=").append(this.id)
                .append("userName=").append(this.userName)
                .append("userCode=").append(this.userCode)
                .append("tenantId=").append(this.tenantId)
                .append("createBy=").append(this.createBy)
                .append("createTime=").append(this.createTime)
                .append("updateBy=").append(this.updateBy)
                .append("updateTime=").append(this.updateTime)
                .append("sex=").append(this.sex)
                .append("status=").append(this.status)
                .append("seq=").append(this.seq)
                .append("remark=").append(this.remark)
                .append("sysUserId=").append(this.sysUserId)
                .append("sysDeptId=").append(this.sysDeptId)
                .append("tenantCode=").append(this.tenantCode)
                .append("userPhone=").append(this.userPhone)
                .append("isDelete=").append(this.isDelete)
                .append("kfStatus=").append(this.kfStatus)
                .append("agentJid=").append(this.agentJid)
                .append("workgroupJid=").append(this.workgroupJid)
                .append("clientNumber=").append(this.clientNumber)
                .append("clientPwd=").append(this.clientPwd)
                .append("tenantName=").append(this.tenantName)
                .append("lv=").append(this.lv)
                .append("isOnline=").append(this.isOnline)
                .append("parentCode=").append(this.parentCode)
                .append("supplierId=").append(this.supplierId)
                .append("roleStr=").append(this.roleStr)
 
 
                .toString();
    }
 
    /**
     * 克隆
     */
    public FinSysTenantUser $clone() {
        FinSysTenantUser fin_sys_tenant_user = new FinSysTenantUser();
 
        // 数据库名称
        //fin_sys_tenant_user.setDatabaseName_(this.getDatabaseName_());
 
        // 主键
        if (this.isset_id) {
            fin_sys_tenant_user.setId(this.getId());
        }
        // 普通属性
        if (this.isset_userName) {
            fin_sys_tenant_user.setUserName(this.getUserName());
        }
        if (this.isset_avatar) {
            fin_sys_tenant_user.setAvatar(this.getAvatar());
        }
        if (this.isset_email) {
            fin_sys_tenant_user.setEmail(this.getEmail());
        }
        if (this.isset_userCode) {
            fin_sys_tenant_user.setUserCode(this.getUserCode());
        }
        if (this.isset_tenantId) {
            fin_sys_tenant_user.setTenantId(this.getTenantId());
        }
        if (this.isset_createBy) {
            fin_sys_tenant_user.setCreateBy(this.getCreateBy());
        }
        if (this.isset_createTime) {
            fin_sys_tenant_user.setCreateTime(this.getCreateTime());
        }
        if (this.isset_updateBy) {
            fin_sys_tenant_user.setUpdateBy(this.getUpdateBy());
        }
        if (this.isset_updateTime) {
            fin_sys_tenant_user.setUpdateTime(this.getUpdateTime());
        }
        if (this.isset_sex) {
            fin_sys_tenant_user.setSex(this.getSex());
        }
        if (this.isset_status) {
            fin_sys_tenant_user.setStatus(this.getStatus());
        }
        if (this.isset_seq) {
            fin_sys_tenant_user.setSeq(this.getSeq());
        }
        if (this.isset_remark) {
            fin_sys_tenant_user.setRemark(this.getRemark());
        }
        if (this.isset_sysUserId) {
            fin_sys_tenant_user.setSysUserId(this.getSysUserId());
        }
        if (this.isset_sysDeptId) {
            fin_sys_tenant_user.setSysDeptId(this.getSysDeptId());
        }
        if (this.isset_tenantCode) {
            fin_sys_tenant_user.setTenantCode(this.getTenantCode());
        }
        if (this.isset_userPhone) {
            fin_sys_tenant_user.setUserPhone(this.getUserPhone());
        }
        if (this.isset_isDelete) {
            fin_sys_tenant_user.setIsDelete(this.getIsDelete());
        }
        if (this.isset_kfStatus) {
            fin_sys_tenant_user.setKfStatus(this.getKfStatus());
        }
        if (this.isset_agentJid) {
            fin_sys_tenant_user.setAgentJid(this.getAgentJid());
        }
        if (this.isset_workgroupJid) {
            fin_sys_tenant_user.setWorkgroupJid(this.getWorkgroupJid());
        }
        if (this.isset_clientNumber) {
            fin_sys_tenant_user.setClientNumber(this.getClientNumber());
        }
        if (this.isset_clientPwd) {
            fin_sys_tenant_user.setClientPwd(this.getClientPwd());
        }
        if (this.isset_tenantName) {
            fin_sys_tenant_user.setTenantName(this.getTenantName());
        }
        if (this.isset_lv) {
            fin_sys_tenant_user.setLv(this.getLv());
        }
        if (this.isset_isOnline) {
            fin_sys_tenant_user.setIsOnline(this.getIsOnline());
        }
        if (this.isset_parentCode) {
            fin_sys_tenant_user.setParentCode(this.getParentCode());
        }
        if (this.isset_supplierId) {
            fin_sys_tenant_user.setSupplierId(this.getSupplierId());
        }
        if (this.isset_roleStr) {
            fin_sys_tenant_user.setRoleStr(this.getRoleStr());
        }
 
 
 
 
        return fin_sys_tenant_user;
    }
}