package com.fzzy.igds.dzhwk.domain; import com.bstek.dorado.annotation.PropertyDef; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import java.io.Serializable; import java.util.Date; /** * @Description 仓储单位实体 * @Author CZT * @Date 2025/05/28 18:58 */ @Data @Entity @Table(name = "D_COMPANY") public class Company implements Serializable { @Id @Column(name = "ID_", length = 40) @PropertyDef(label = "部门id",description = "系统内使用,绑定部门表") private String id; @Column(name = "COMPANY_ID_", length = 10) @PropertyDef(label = "组织编码") private String companyId; /*----------国标字段----------*/ @PropertyDef(label = "单位代码") @Column(name = "dwdm", length = 18) private String dwdm; @PropertyDef(label = "统一单位编码") @Column(name = "tydwbm", length = 20) private String tydwbm; @PropertyDef(label = "单位名称") @Column(name = "dwmc", length = 256) private String dwmc; @PropertyDef(label = "单位类型") @Column(name = "dwlx", length = 2) private String dwlx; @PropertyDef(label = "注册日期") @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8") @Column(name = "zcrq") private Date zcrq; @PropertyDef(label = "注册资本") @Column(name = "zczb", precision = 20, scale = 6) private Double zczb; @PropertyDef(label = "资产总额") @Column(name = "zcze", precision = 20, scale = 6) private Double zcze; @PropertyDef(label = "法定代表人") @Column(name = "fddbr", length = 100) private String fddbr; @PropertyDef(label = "法人身份证号") @Column(name = "frsfzh", length = 18) private String frsfzh; @PropertyDef(label = "法人联系方式") @Column(name = "frlxfs", length = 50) private String frlxfs; @PropertyDef(label = "企业联系人") @Column(name = "qylxr", length = 100) private String qylxr; @PropertyDef(label = "办公电话") @Column(name = "bgdh", length = 50) private String bgdh; @PropertyDef(label = "注册地址") @Column(name = "zcdz", length = 512) private String zcdz; @PropertyDef(label = "电子邮箱") @Column(name = "dzyx", length = 50) private String dzyx; @PropertyDef(label = "企业官方网站地址") @Column(name = "qygfwzdz", length = 128) private String qygfwzdz; @PropertyDef(label = "传真号码") @Column(name = "czhm", length = 32) private String czhm; @PropertyDef(label = "邮政编码") @Column(name = "yzbm", length = 6) private String yzbm; @PropertyDef(label = "行政区划代码") @Column(name = "xzqhdm", length = 6) private String xzqhdm; @PropertyDef(label = "行政区划名称") @Column(name = "xzqhmc", length = 6) private String xzqhmc; @PropertyDef(label = "上级单位名称") @Column(name = "sjdwmc", length = 256) private String sjdwmc; @PropertyDef(label = "上级单位代码") @Column(name = "sjdwdm", length = 18) private String sjdwdm; @PropertyDef(label = "上级单位统一编码") @Column(name = "sjdwtybm", length = 20) private String sjdwtybm; @PropertyDef(label = "库区数") @Column(name = "kqs") private Integer kqs; @PropertyDef(label = "仓房数") @Column(name = "cfs") private Integer cfs; @PropertyDef(label = "油罐数") @Column(name = "ygs") private Integer ygs; @PropertyDef(label = "经度") @Column(name = "jd", precision = 20, scale = 6) private Double jd; @PropertyDef(label = "纬度") @Column(name = "wd", precision = 20, scale = 6) private Double wd; @PropertyDef(label = "单位状态") @Column(name = "dwzt",length = 1) private String dwzt; @PropertyDef(label = "更新时间") @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @Column(name = "zhgxsj") private Date zhgxsj; }