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; } }