|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.alibaba.fastjson.annotation.JSONField; | 
|---|
|  |  |  | import com.bstek.dorado.annotation.PropertyDef; | 
|---|
|  |  |  | import com.fasterxml.jackson.annotation.JsonFormat; | 
|---|
|  |  |  | import com.fzzy.api.entity.ApiParent; | 
|---|
|  |  |  | import lombok.Data; | 
|---|
|  |  |  | import lombok.EqualsAndHashCode; | 
|---|
|  |  |  | import org.springframework.format.annotation.DateTimeFormat; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import javax.persistence.Column; | 
|---|
|  |  |  | import javax.persistence.Entity; | 
|---|
|  |  |  | import javax.persistence.Id; | 
|---|
|  |  |  | import javax.persistence.Table; | 
|---|
|  |  |  | import java.io.Serializable; | 
|---|
|  |  |  | import java.util.Date; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 接口表-单位 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @author chen | 
|---|
|  |  |  | * @author czt | 
|---|
|  |  |  | * @date 2022-09-02 14:18 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @Data | 
|---|
|  |  |  | 
|---|
|  |  |  | @PropertyDef(label = "单位名称") | 
|---|
|  |  |  | private String dwmc; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PropertyDef(label = "统一单位编码") | 
|---|
|  |  |  | private String tydwbm; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PropertyDef(label = "单位类型") | 
|---|
|  |  |  | private String dwlx; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PropertyDef(label = "注册日期") | 
|---|
|  |  |  | @DateTimeFormat(pattern = "yyyy-MM-dd") | 
|---|
|  |  |  | @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") | 
|---|
|  |  |  | @JSONField(format = "yyyy-MM-dd") | 
|---|
|  |  |  | private Date zcrq; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PropertyDef(label = "注册资本") | 
|---|
|  |  |  | private double zczb; | 
|---|
|  |  |  | private Double zczb; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PropertyDef(label = "资产总额") | 
|---|
|  |  |  | private double zcze; | 
|---|
|  |  |  | private Double zcze; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PropertyDef(label = "法定代表人") | 
|---|
|  |  |  | private String fddbr; | 
|---|
|  |  |  | 
|---|
|  |  |  | private String zcdz; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PropertyDef(label = "电子邮箱") | 
|---|
|  |  |  | private String dzyx; | 
|---|
|  |  |  | @JSONField(serialize = true) | 
|---|
|  |  |  | private String dzyx = "无"; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PropertyDef(label = "企业官方网站地址") | 
|---|
|  |  |  | private String qygfwzdz; | 
|---|
|  |  |  | @JSONField(serialize = true) | 
|---|
|  |  |  | private String qygfwzdz = "无"; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PropertyDef(label = "传真号码") | 
|---|
|  |  |  | private String czhm; | 
|---|
|  |  |  | @JSONField(serialize = true) | 
|---|
|  |  |  | private String czhm = "无"; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PropertyDef(label = "邮政编码") | 
|---|
|  |  |  | private String yzbm; | 
|---|
|  |  |  | 
|---|
|  |  |  | @PropertyDef(label = "行政区划代码") | 
|---|
|  |  |  | private String xzqhdm; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PropertyDef(label = "行政区划名称", description = "非国标字段,后期增加") | 
|---|
|  |  |  | @JSONField(serialize = false) | 
|---|
|  |  |  | private String xzqhmc; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PropertyDef(label = "上级单位名称") | 
|---|
|  |  |  | private String sjdwmc; | 
|---|
|  |  |  | @JSONField(serialize = true) | 
|---|
|  |  |  | private String sjdwmc = "无"; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PropertyDef(label = "上级单位代码") | 
|---|
|  |  |  | private String sjdwdm; | 
|---|
|  |  |  | @JSONField(serialize = true) | 
|---|
|  |  |  | private String sjdwdm = "无"; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PropertyDef(label = "库区数") | 
|---|
|  |  |  | private Integer kqs; | 
|---|
|  |  |  | 
|---|
|  |  |  | @PropertyDef(label = "仓房数") | 
|---|
|  |  |  | private Integer cfs; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PropertyDef(label = "油罐数") | 
|---|
|  |  |  | private Integer ygs; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PropertyDef(label = "经度") | 
|---|
|  |  |  | private double jd; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PropertyDef(label = "纬度") | 
|---|
|  |  |  | private double wd; | 
|---|
|  |  |  | @PropertyDef(label = "廒间数") | 
|---|
|  |  |  | private Integer ajs; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PropertyDef(label = "单位状态") | 
|---|
|  |  |  | private String dwzt; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PropertyDef(label = "备案类型", description = "0:初次备案 1:变更备案 2:重新备案") | 
|---|
|  |  |  | private String balx; | 
|---|
|  |  |  | @PropertyDef(label = "油罐数") | 
|---|
|  |  |  | private Integer ygs; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PropertyDef(label = "仓储业务类型") | 
|---|
|  |  |  | private String ccywlx; | 
|---|
|  |  |  | @PropertyDef(label = "经度") | 
|---|
|  |  |  | private Double jd; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PropertyDef(label = "仓储品种") | 
|---|
|  |  |  | private String ccpz; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PropertyDef(label = "备案状态") | 
|---|
|  |  |  | private String bazt; | 
|---|
|  |  |  | @PropertyDef(label = "纬度") | 
|---|
|  |  |  | private Double wd; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PropertyDef(label = "操作标志") | 
|---|
|  |  |  | private String czbz; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PropertyDef(label = "廒间数") | 
|---|
|  |  |  | private Integer ajs; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PropertyDef(label = "标记位") | 
|---|
|  |  |  | private String bjw; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PropertyDef(label = "最后更新时间") | 
|---|
|  |  |  | @JSONField(format = "yyyy-MM-dd HH:mm:ss") | 
|---|
|  |  |  | private Date zhgxsj; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @JSONField(serialize = false) | 
|---|
|  |  |  | @PropertyDef(label = "业务id") | 
|---|
|  |  |  | private String bizId; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @JSONField(serialize = false) | 
|---|
|  |  |  | @PropertyDef(label = "同步时间", description = "从粮库系统同步到接口管理中心的时间") | 
|---|
|  |  |  | private Date syncTime; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @JSONField(serialize = false) | 
|---|
|  |  |  | @PropertyDef(label = "库区代码") | 
|---|
|  |  |  | private String kqdm; | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | @PropertyDef(label = "标记位") | 
|---|
|  |  |  | private String bjw; | 
|---|
|  |  |  | } | 
|---|