郑永安
2023-06-19 59e91a4e9ddaf23cebb12993c774aa899ab22d16
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
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
package com.gk.firework.Domain;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.gk.firework.Domain.Enum.*;
import com.gk.firework.Domain.Utils.Constants;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.data.annotation.Transient;
 
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
 
@ApiModel("企业信息类")
@TableName("enterprise")
public class Enterprise implements Serializable {
 
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
 
    @TableId(type = IdType.AUTO)
    /** 主键id  id **/
    private Long id;
 
    /** 安全监管分类  safetysupervision **/
    @ApiModelProperty("安全监管分类")
    private String safetysupervision;
 
    /** 国民经济行业分类  economicindustry **/
    @ApiModelProperty("国民经济行业分类")
    private String economicindustry;
 
    /** 单位编号  enterprisenumber **/
    @ApiModelProperty("单位编号")
    private String enterprisenumber;
 
    /** 企业名称  enterprisename **/
    @ApiModelProperty("企业名称")
    private String enterprisename;
 
    /** 电子邮箱  enterpriseemail **/
    private String enterpriseemail;
 
    /** 企业规模  enterprisesize **/
    private EnterpriseSize enterprisesize;
 
    /** 企业状态  enterprisestatus **/
    private EnterpriseStatus enterprisestatus;
 
    /** 行政主管部门  department **/
    @ApiModelProperty("行政主管部门")
    private String department;
 
    /** 设备编号  devicenumber **/
    private String devicenumber;
 
    /** 单位办公地址  officeaddress **/
    @ApiModelProperty("单位办公地址")
    private String officeaddress;
 
    /** 所属区域:省  province **/
    private String province;
 
    /** 所属区域:市  city **/
    private String city;
 
    /** 所属区域:区  district **/
    private String district;
 
    /** 所属区域:街道  street **/
    private String street;
 
    /** 所属区域:委员会  committee **/
    private String committee;
 
    /** 治安主管单位  securitysupervisory **/
    @ApiModelProperty("治安主管单位")
    private String securitysupervisory;
 
    /** 办公电话  officephone **/
    @ApiModelProperty("办公电话")
    private String officephone;
 
    /** 传真电话  faxphone **/
    private String faxphone;
 
    /** 单位注册地址  registeraddress **/
    private String registeraddress;
 
    /** 注册类型  registertype **/
    private String registertype;
 
    /** 成立时间  establishtime **/
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private Date establishtime;
 
    /** qq号码  qqnumber **/
    private String qqnumber;
 
    /** 邮编  postcode **/
    private String postcode;
 
    /** 工房数量  roomnumber **/
    private Integer roomnumber;
 
    /** 国民经济类型  economictype **/
    private String economictype;
 
    /** 生产经营项目  productioncontent **/
    private String productioncontent;
 
    /** 工商注册号  businessregisternumber **/
    private String businessregisternumber;
 
    /** 组织结构代码  organizationstructurecode **/
    private String organizationstructurecode;
 
    /** 有效期开始时间  validstarttime **/
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private Date validstarttime;
 
    /** 有效期结束时间  validendtime **/
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private Date validendtime;
 
    @ApiModelProperty("专职安全生产管理人员及仓库守护、保管人员数量")
    private Integer personnumber;
 
    /** 从业人数  employeenumber **/
    private Integer employeenumber;
 
    /** 是否缴纳安全责任险  ispaysafetyinsurance **/
    private Boolean ispaysafetyinsurance;
 
    /** 保险合同号码(保单号)  insurancecontractnumber **/
    private String insurancecontractnumber;
 
    /** 投保金额  insureamount **/
    private BigDecimal insureamount;
 
    /** 投保有效期开始时间  insurestarttime **/
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private Date insurestarttime;
 
    /** 投保有效期结束时间  insureendtime **/
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private Date insureendtime;
 
    /** 保险公司名称  insurancecompany **/
    private String insurancecompany;
 
    /** 是否有重大危险源  ismajorhazard **/
    private Boolean ismajorhazard;
 
    /** 是否有特种设备  isspecialequipment **/
    private Boolean isspecialequipment;
 
    /** 是否有职业卫生信息  isoccupationalhealthinfo **/
    private Boolean isoccupationalhealthinfo;
 
    /** 是否有特种人员  isspecialpersonnel **/
    private Boolean isspecialpersonnel;
 
    /** 自查记录周期  selfrecordingcycle **/
    private String selfrecordingcycle;
 
    /** 是否有上级企业  isparententerprise **/
    private Boolean isparententerprise;
 
    /** 上级企业id  parententerpriseid **/
    private Long parententerpriseid;
 
    /** 上级企业名称  parententerprisename **/
    private String parententerprisename;
 
    /** 信息创建时间  infocreatetime **/
    private Date infocreatetime;
 
    /** 信息更新时间  infoupdatetime **/
    private Date infoupdatetime;
 
    /** 更新用户  infoupdateby **/
    private Long infoupdateby;
 
    /** 创建用户  infocreateby **/
    private Long infocreateby;
 
    private String twobitcode;
 
    /** 法定代表人信息  legalrepresentative **/
 
    /** 主要负责人  mainprincipal **/
 
    /** 安全负责人  securityofficer **/
 
    /** 信息员  informationofficer **/
 
    @TableField(exist = false)
    private EnterpriseStaff  legalrepresentative;
    @TableField(exist = false)
    private EnterpriseStaff  mainprincipal;
    @TableField(exist = false)
    private EnterpriseStaff  securityofficer;
    @TableField(exist = false)
    private EnterpriseStaff  informationofficer;
 
    /** 有效标识  validflag **/
    private Boolean validflag;
 
    /** 单位坐标  enterpriselocation **/
    private String longitude;
 
    private String latitude;
 
    /** 信息创建人  infocreatebyname **/
    private String infocreatebyname;
 
    /** 信息更信人  infoupdatebyname **/
    private String infoupdatebyname;
 
    /** 分表标识  divideflag **/
    private Byte divideflag;
 
    @Transient
    @TableField(exist = false)
    private String password;
 
    @ApiModelProperty("丹灵单位编号")
    private String dlcompanycode;
 
    @ApiModelProperty("设备id")
    private String deviceid;
 
    @ApiModelProperty("是否注销")
    private Boolean loginvalidflag;
 
    /**   主键id  id   **/
    public Long getId() {
        return id;
    }
 
    /**   主键id  id   **/
    public void setId(Long id) {
        this.id = id;
    }
 
    public String getSafetysupervision() {
        return safetysupervision;
    }
 
    public void setSafetysupervision(String safetysupervision) {
        this.safetysupervision = safetysupervision;
    }
 
    public String getEconomicindustry() {
        return economicindustry;
    }
 
    public void setEconomicindustry(String economicindustry) {
        this.economicindustry = economicindustry;
    }
 
    /**   单位编号  enterprisenumber   **/
    public String getEnterprisenumber() {
        return enterprisenumber;
    }
 
    /**   单位编号  enterprisenumber   **/
    public void setEnterprisenumber(String enterprisenumber) {
        this.enterprisenumber = enterprisenumber == null ? null : enterprisenumber.trim();
    }
 
    /**   企业名称  enterprisename   **/
    public String getEnterprisename() {
        return enterprisename;
    }
 
    /**   企业名称  enterprisename   **/
    public void setEnterprisename(String enterprisename) {
        this.enterprisename = enterprisename == null ? null : enterprisename.trim();
    }
 
    /**   电子邮箱  enterpriseemail   **/
    public String getEnterpriseemail() {
        return enterpriseemail;
    }
 
    /**   电子邮箱  enterpriseemail   **/
    public void setEnterpriseemail(String enterpriseemail) {
        this.enterpriseemail = enterpriseemail == null ? null : enterpriseemail.trim();
    }
 
    /**   企业规模  enterprisesize   **/
    public EnterpriseSize getEnterprisesize() {
        return enterprisesize;
    }
 
    /**   企业规模  enterprisesize   **/
    public void setEnterprisesize(EnterpriseSize enterprisesize) {
        this.enterprisesize = enterprisesize;
    }
 
    /**   企业状态  enterprisestatus   **/
    public EnterpriseStatus getEnterprisestatus() {
        return enterprisestatus;
    }
 
    public void setEnterprisestatus(EnterpriseStatus enterprisestatus) {
        this.enterprisestatus = enterprisestatus;
    }
 
    /**   行政主管部门  department   **/
    public String getDepartment() {
        return department;
    }
 
    /**   行政主管部门  department   **/
    public void setDepartment(String department) {
        this.department = department == null ? null : department.trim();
    }
 
    /**   设备编号  devicenumber   **/
    public String getDevicenumber() {
        return devicenumber;
    }
 
    /**   设备编号  devicenumber   **/
    public void setDevicenumber(String devicenumber) {
        this.devicenumber = devicenumber == null ? null : devicenumber.trim();
    }
 
    /**   单位办公地址  officeaddress   **/
    public String getOfficeaddress() {
        return officeaddress;
    }
 
    /**   单位办公地址  officeaddress   **/
    public void setOfficeaddress(String officeaddress) {
        this.officeaddress = officeaddress == null ? null : officeaddress.trim();
    }
 
    /**   所属区域:省  province   **/
    public String getProvince() {
        return province;
    }
 
    /**   所属区域:省  province   **/
    public void setProvince(String province) {
        this.province = province == null ? null : province.trim();
    }
 
    /**   所属区域:市  city   **/
    public String getCity() {
        return city;
    }
 
    /**   所属区域:市  city   **/
    public void setCity(String city) {
        this.city = city == null ? null : city.trim();
    }
 
    /**   所属区域:区  district   **/
    public String getDistrict() {
        return district;
    }
 
    /**   所属区域:区  district   **/
    public void setDistrict(String district) {
        this.district = district == null ? null : district.trim();
    }
 
    /**   所属区域:街道  street   **/
    public String getStreet() {
        return street;
    }
 
    /**   所属区域:街道  street   **/
    public void setStreet(String street) {
        this.street = street == null ? null : street.trim();
    }
 
    /**   所属区域:委员会  committee   **/
    public String getCommittee() {
        return committee;
    }
 
    /**   所属区域:委员会  committee   **/
    public void setCommittee(String committee) {
        this.committee = committee == null ? null : committee.trim();
    }
 
    /**   治安主管单位  securitysupervisory   **/
    public String getSecuritysupervisory() {
        return securitysupervisory;
    }
 
    /**   治安主管单位  securitysupervisory   **/
    public void setSecuritysupervisory(String securitysupervisory) {
        this.securitysupervisory = securitysupervisory == null ? null : securitysupervisory.trim();
    }
 
    /**   办公电话  officephone   **/
    public String getOfficephone() {
        return officephone;
    }
 
    /**   办公电话  officephone   **/
    public void setOfficephone(String officephone) {
        this.officephone = officephone == null ? null : officephone.trim();
    }
 
    /**   传真电话  faxphone   **/
    public String getFaxphone() {
        return faxphone;
    }
 
    /**   传真电话  faxphone   **/
    public void setFaxphone(String faxphone) {
        this.faxphone = faxphone == null ? null : faxphone.trim();
    }
 
    /**   单位注册地址  registeraddress   **/
    public String getRegisteraddress() {
        return registeraddress;
    }
 
    /**   单位注册地址  registeraddress   **/
    public void setRegisteraddress(String registeraddress) {
        this.registeraddress = registeraddress == null ? null : registeraddress.trim();
    }
 
    /**   注册类型  registertype   **/
    public String getRegistertype() {
        return registertype;
    }
 
    /**   注册类型  registertype   **/
    public void setRegistertype(String registertype) {
        this.registertype = registertype == null ? null : registertype.trim();
    }
 
    /**   成立时间  establishtime   **/
    public Date getEstablishtime() {
        return establishtime;
    }
 
    /**   成立时间  establishtime   **/
    public void setEstablishtime(Date establishtime) {
        this.establishtime = establishtime;
    }
 
    /**   qq号码  qqnumber   **/
    public String getQqnumber() {
        return qqnumber;
    }
 
    /**   qq号码  qqnumber   **/
    public void setQqnumber(String qqnumber) {
        this.qqnumber = qqnumber == null ? null : qqnumber.trim();
    }
 
    /**   邮编  postcode   **/
    public String getPostcode() {
        return postcode;
    }
 
    /**   邮编  postcode   **/
    public void setPostcode(String postcode) {
        this.postcode = postcode == null ? null : postcode.trim();
    }
 
    /**   工房数量  roomnumber   **/
    public Integer getRoomnumber() {
        return roomnumber;
    }
 
    /**   工房数量  roomnumber   **/
    public void setRoomnumber(Integer roomnumber) {
        this.roomnumber = roomnumber;
    }
 
    /**   国民经济类型  economictype   **/
    public String getEconomictype() {
        return economictype;
    }
 
    /**   国民经济类型  economictype   **/
    public void setEconomictype(String economictype) {
        this.economictype = economictype == null ? null : economictype.trim();
    }
 
    /**   生产经营项目  productioncontent   **/
    public String getProductioncontent() {
        return productioncontent;
    }
 
    /**   生产经营项目  productioncontent   **/
    public void setProductioncontent(String productioncontent) {
        this.productioncontent = productioncontent == null ? null : productioncontent.trim();
    }
 
    /**   工商注册号  businessregisternumber   **/
    public String getBusinessregisternumber() {
        return businessregisternumber;
    }
 
    /**   工商注册号  businessregisternumber   **/
    public void setBusinessregisternumber(String businessregisternumber) {
        this.businessregisternumber = businessregisternumber == null ? null : businessregisternumber.trim();
    }
 
    /**   组织结构代码  organizationstructurecode   **/
    public String getOrganizationstructurecode() {
        return organizationstructurecode;
    }
 
    /**   组织结构代码  organizationstructurecode   **/
    public void setOrganizationstructurecode(String organizationstructurecode) {
        this.organizationstructurecode = organizationstructurecode == null ? null : organizationstructurecode.trim();
    }
 
    /**   有效期开始时间  validstarttime   **/
    public Date getValidstarttime() {
        return validstarttime;
    }
 
    /**   有效期开始时间  validstarttime   **/
    public void setValidstarttime(Date validstarttime) {
        this.validstarttime = validstarttime;
    }
 
    /**   有效期结束时间  validendtime   **/
    public Date getValidendtime() {
        return validendtime;
    }
 
    /**   有效期结束时间  validendtime   **/
    public void setValidendtime(Date validendtime) {
        this.validendtime = validendtime;
    }
 
    /**   从业人数  employeenumber   **/
    public Integer getEmployeenumber() {
        return employeenumber;
    }
 
    /**   从业人数  employeenumber   **/
    public void setEmployeenumber(Integer employeenumber) {
        this.employeenumber = employeenumber;
    }
 
    /**   是否缴纳安全责任险  ispaysafetyinsurance   **/
    public Boolean getIspaysafetyinsurance() {
        return ispaysafetyinsurance;
    }
 
    /**   是否缴纳安全责任险  ispaysafetyinsurance   **/
    public void setIspaysafetyinsurance(Boolean ispaysafetyinsurance) {
        this.ispaysafetyinsurance = ispaysafetyinsurance;
    }
 
    /**   保险合同号码(保单号)  insurancecontractnumber   **/
    public String getInsurancecontractnumber() {
        return insurancecontractnumber;
    }
 
    /**   保险合同号码(保单号)  insurancecontractnumber   **/
    public void setInsurancecontractnumber(String insurancecontractnumber) {
        this.insurancecontractnumber = insurancecontractnumber == null ? null : insurancecontractnumber.trim();
    }
 
    /**   投保金额  insureamount   **/
    public BigDecimal getInsureamount() {
        return insureamount;
    }
 
    /**   投保金额  insureamount   **/
    public void setInsureamount(BigDecimal insureamount) {
        this.insureamount = insureamount;
    }
 
    /**   投保有效期开始时间  insurestarttime   **/
    public Date getInsurestarttime() {
        return insurestarttime;
    }
 
    /**   投保有效期开始时间  insurestarttime   **/
    public void setInsurestarttime(Date insurestarttime) {
        this.insurestarttime = insurestarttime;
    }
 
    /**   投保有效期结束时间  insureendtime   **/
    public Date getInsureendtime() {
        return insureendtime;
    }
 
    /**   投保有效期结束时间  insureendtime   **/
    public void setInsureendtime(Date insureendtime) {
        this.insureendtime = insureendtime;
    }
 
    /**   是否有重大危险源  ismajorhazard   **/
    public Boolean getIsmajorhazard() {
        return ismajorhazard;
    }
 
    /**   是否有重大危险源  ismajorhazard   **/
    public void setIsmajorhazard(Boolean ismajorhazard) {
        this.ismajorhazard = ismajorhazard;
    }
 
    /**   是否有特种设备  isspecialequipment   **/
    public Boolean getIsspecialequipment() {
        return isspecialequipment;
    }
 
    /**   是否有特种设备  isspecialequipment   **/
    public void setIsspecialequipment(Boolean isspecialequipment) {
        this.isspecialequipment = isspecialequipment;
    }
 
    /**   是否有职业卫生信息  isoccupationalhealthinfo   **/
    public Boolean getIsoccupationalhealthinfo() {
        return isoccupationalhealthinfo;
    }
 
    /**   是否有职业卫生信息  isoccupationalhealthinfo   **/
    public void setIsoccupationalhealthinfo(Boolean isoccupationalhealthinfo) {
        this.isoccupationalhealthinfo = isoccupationalhealthinfo;
    }
 
    /**   是否有特种人员  isspecialpersonnel   **/
    public Boolean getIsspecialpersonnel() {
        return isspecialpersonnel;
    }
 
    /**   是否有特种人员  isspecialpersonnel   **/
    public void setIsspecialpersonnel(Boolean isspecialpersonnel) {
        this.isspecialpersonnel = isspecialpersonnel;
    }
 
    public String getSelfrecordingcycle() {
        return selfrecordingcycle;
    }
 
    public void setSelfrecordingcycle(String selfrecordingcycle) {
        this.selfrecordingcycle = selfrecordingcycle;
    }
 
    /**   是否有上级企业  isparententerprise   **/
    public Boolean getIsparententerprise() {
        return isparententerprise;
    }
 
    /**   是否有上级企业  isparententerprise   **/
    public void setIsparententerprise(Boolean isparententerprise) {
        this.isparententerprise = isparententerprise;
    }
 
    /**   上级企业id  parententerpriseid   **/
    public Long getParententerpriseid() {
        return parententerpriseid;
    }
 
    /**   上级企业id  parententerpriseid   **/
    public void setParententerpriseid(Long parententerpriseid) {
        this.parententerpriseid = parententerpriseid;
    }
 
    /**   上级企业名称  parententerprisename   **/
    public String getParententerprisename() {
        return parententerprisename;
    }
 
    /**   上级企业名称  parententerprisename   **/
    public void setParententerprisename(String parententerprisename) {
        this.parententerprisename = parententerprisename == null ? null : parententerprisename.trim();
    }
 
    /**   信息创建时间  infocreatetime   **/
    public Date getInfocreatetime() {
        return infocreatetime;
    }
 
    /**   信息创建时间  infocreatetime   **/
    public void setInfocreatetime(Date infocreatetime) {
        this.infocreatetime = infocreatetime;
    }
 
    /**   信息更新时间  infoupdatetime   **/
    public Date getInfoupdatetime() {
        return infoupdatetime;
    }
 
    /**   信息更新时间  infoupdatetime   **/
    public void setInfoupdatetime(Date infoupdatetime) {
        this.infoupdatetime = infoupdatetime;
    }
 
    /**   更新用户  infoupdateby   **/
    public Long getInfoupdateby() {
        return infoupdateby;
    }
 
    /**   更新用户  infoupdateby   **/
    public void setInfoupdateby(Long infoupdateby) {
        this.infoupdateby = infoupdateby;
    }
 
    /**   创建用户  infocreateby   **/
    public Long getInfocreateby() {
        return infocreateby;
    }
 
    /**   创建用户  infocreateby   **/
    public void setInfocreateby(Long infocreateby) {
        this.infocreateby = infocreateby;
    }
 
    public EnterpriseStaff getLegalrepresentative() {
        return legalrepresentative == null? new EnterpriseStaff():legalrepresentative ;
    }
 
    public void setLegalrepresentative(EnterpriseStaff legalrepresentative) {
        this.legalrepresentative = legalrepresentative;
    }
 
    public EnterpriseStaff getMainprincipal() {
        return  mainprincipal == null?new EnterpriseStaff():mainprincipal;
    }
 
    public void setMainprincipal(EnterpriseStaff mainprincipal) {
        this.mainprincipal = mainprincipal;
    }
 
    public EnterpriseStaff getSecurityofficer() {
        return securityofficer == null?new EnterpriseStaff():securityofficer;
    }
 
    public void setSecurityofficer(EnterpriseStaff securityofficer) {
        this.securityofficer = securityofficer;
    }
 
    public EnterpriseStaff getInformationofficer() {
        return informationofficer == null?new EnterpriseStaff():informationofficer;
    }
 
    public void setInformationofficer(EnterpriseStaff informationofficer) {
        this.informationofficer = informationofficer;
    }
 
    /**   有效标识  validflag   **/
    public Boolean getValidflag() {
        return validflag;
    }
 
    /**   有效标识  validflag   **/
    public void setValidflag(Boolean validflag) {
        this.validflag = validflag;
    }
 
 
    /**   信息创建人  infocreatebyname   **/
    public String getInfocreatebyname() {
        return infocreatebyname;
    }
 
    /**   信息创建人  infocreatebyname   **/
    public void setInfocreatebyname(String infocreatebyname) {
        this.infocreatebyname = infocreatebyname == null ? null : infocreatebyname.trim();
    }
 
    /**   信息更信人  infoupdatebyname   **/
    public String getInfoupdatebyname() {
        return infoupdatebyname;
    }
 
    /**   信息更信人  infoupdatebyname   **/
    public void setInfoupdatebyname(String infoupdatebyname) {
        this.infoupdatebyname = infoupdatebyname == null ? null : infoupdatebyname.trim();
    }
 
    /**   分表标识  divideflag   **/
    public Byte getDivideflag() {
        return divideflag;
    }
 
    /**   分表标识  divideflag   **/
    public void setDivideflag(Byte divideflag) {
        this.divideflag = divideflag;
    }
 
    public String getPassword() {
        return password;
    }
 
    public void setPassword(String password) {
        this.password = password;
    }
 
 
    public String getLongitude() {
        return longitude;
    }
 
    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }
 
    public String getLatitude() {
        return latitude;
    }
 
    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }
 
    public String getTwobitcode() {
        return twobitcode;
    }
 
    public void setTwobitcode(String twobitcode) {
        this.twobitcode = twobitcode;
    }
 
    public String getInsurancecompany() {
        return insurancecompany;
    }
 
    public void setInsurancecompany(String insurancecompany) {
        this.insurancecompany = insurancecompany;
    }
 
    public Integer getPersonnumber() {
        return personnumber;
    }
 
    public void setPersonnumber(Integer personnumber) {
        this.personnumber = personnumber;
    }
 
    public String getDlcompanycode() {
        return dlcompanycode;
    }
 
    public void setDlcompanycode(String dlcompanycode) {
        this.dlcompanycode = dlcompanycode;
    }
 
    public String getDeviceid() {
        return deviceid;
    }
 
    public void setDeviceid(String deviceid) {
        this.deviceid = deviceid;
    }
 
    public Boolean getLoginvalidflag() {
        return loginvalidflag;
    }
 
    public void setLoginvalidflag(Boolean loginvalidflag) {
        this.loginvalidflag = loginvalidflag;
    }
}