package com.fzzy.api.entity; import com.alibaba.fastjson.annotation.JSONField; import com.bstek.dorado.annotation.PropertyDef; import lombok.Data; import lombok.EqualsAndHashCode; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import java.io.Serializable; import java.util.Date; /** * 接口表-仓房信息 */ @Data @Entity @Table(name = "API_1103") @EqualsAndHashCode(callSuper=false) public class Api1103 implements Serializable { private static final long serialVersionUID = 8095346227076335949L; /*----------国标字段----------*/ @Id @PropertyDef(label = "仓房代码" ) @Column(name = "cfdm", length = 25) private String cfdm; @PropertyDef(label = "统一仓房编码") @Column(name = "tycfbm", length = 25) private String tycfbm; @PropertyDef(label = "仓房名称" ) @Column(name = "cfmc", length = 256) private String cfmc; @PropertyDef(label = "库区代码" ) @Column(name = "kqdm", length = 21) private String kqdm; @PropertyDef(label = "仓房类型代码" ) @Column(name = "cflxdm", length = 8) private String cflxdm; @PropertyDef(label = "交付使用日期" ) @JSONField(format = "yyyy-MM-dd") @Column(name = "jfsyrq") private Date jfsyrq; @PropertyDef(label = "建设单位" ) @Column(name = "jsdw", length = 256) private String jsdw; @PropertyDef(label = "设计使用年限" ) @Column(name = "sjsynx", length = 32) private String sjsynx; @PropertyDef(label = "设计单位" ) @Column(name = "sjdw", length = 256) private String sjdw; @PropertyDef(label = "监理单位" ) @Column(name = "jldw", length = 256) private String jldw; @PropertyDef(label = "墙体结构" ) @Column(name = "qtjg", length = 2) private String qtjg; @PropertyDef(label = "房顶结构" ) @Column(name = "fdjg", length = 2) private String fdjg; @PropertyDef(label = "房架结构" ) @Column(name = "fjjg", length = 2) private String fjjg; @PropertyDef(label = "地面结构" ) @Column(name = "dmjg", length = 2) private String dmjg; @PropertyDef(label = "设计仓容" ) @Column(name = "sjcr", precision = 20, scale = 6) private Double sjcr; @PropertyDef(label = "仓外长" ) @Column(name = "cwc", precision = 20, scale = 6) private Double cwc; @PropertyDef(label = "仓外宽" ) @Column(name = "cwk", precision = 20, scale = 6) private Double cwk; @PropertyDef(label = "仓外檐高" ) @Column(name = "cwyg", precision = 20, scale = 6) private Double cwyg; @PropertyDef(label = "仓外顶高" ) @Column(name = "cwdg", precision = 20, scale = 6) private Double cwdg; @PropertyDef(label = "筒仓外径" ) @Column(name = "tcwj", precision = 20, scale = 6) private Double tcwj; @PropertyDef(label = "仓内长" ) @Column(name = "cnc", precision = 20, scale = 6) private Double cnc; @PropertyDef(label = "仓内宽" ) @Column(name = "cnk", precision = 20, scale = 6) private Double cnk; @PropertyDef(label = "仓内檐高" ) @Column(name = "cnyg", precision = 20, scale = 6) private Double cnyg; @PropertyDef(label = "仓内装粮线高" ) @Column(name = "cnzlxg", precision = 20, scale = 6) private Double cnzlxg; @PropertyDef(label = "筒仓内径" ) @Column(name = "tcnj", precision = 20, scale = 6) private Double tcnj; @PropertyDef(label = "仓内体积" ) @Column(name = "cntj", precision = 20, scale = 6) private Double cntj; @PropertyDef(label = "仓门数量" ) @Column(name = "cmsl") private Integer cmsl; @PropertyDef(label = "仓门位置" ) @Column(name = "cmwz", length = 256) private String cmwz; @PropertyDef(label = "仓门高度" ) @Column(name = "cmgd", precision = 20, scale = 6) private Double cmgd; @PropertyDef(label = "仓门宽度" ) @Column(name = "cmkd", precision = 20, scale = 6) private Double cmkd; @PropertyDef(label = "挡粮门型式" ) @Column(name = "dlmxs", length = 2) private String dlmxs; @PropertyDef(label = "仓房是否完好" ) @Column(name = "cfsfwh", length = 1) private String cfsfwh; @PropertyDef(label = "储粮功效" ) @Column(name = "clgx", length = 1) private String clgx; @PropertyDef(label = "能否隔热保温" ) @Column(name = "nfgrbw", length = 1) private String nfgrbw; @PropertyDef(label = "隔热保温措施" ) @Column(name = "grbwcs", length = 512) private String grbwcs; @PropertyDef(label = "隔热性能" ) @Column(name = "grxn", length = 1) private String grxn; @PropertyDef(label = "结构材料" ) @Column(name = "jgcl", length = 1) private String jgcl; @PropertyDef(label = "气密性" ) @Column(name = "qmx", length = 1) private String qmx; @PropertyDef(label = "是否已进行信息化改造" ) @Column(name = "sfyjxxxhgz", length = 1) private String sfyjxxxhgz; @PropertyDef(label = "粮情技术" ) @Column(name = "lqjs", length = 1) private String lqjs; @PropertyDef(label = "能否散装储存" ) @Column(name = "nfszcc", length = 1) private String nfszcc; @PropertyDef(label = "有无防鼠防雀防虫装置及设施" ) @Column(name = "ywfsfqfczz", length = 1) private String ywfsfqfczz; @PropertyDef(label = "有无防火防爆防盗设施" ) @Column(name = "ywfhfbfdss", length = 1) private String ywfhfbfdss; @PropertyDef(label = "有无机械通风设施" ) @Column(name = "ywjxtfss", length = 1) private String ywjxtfss; @PropertyDef(label = "通风系统型式" ) @Column(name = "tfxtxs", length = 1) private String tfxtxs; @PropertyDef(label = "通风技术" ) @Column(name = "tfjs", length = 1) private String tfjs; @PropertyDef(label = "能否环流熏蒸杀虫" ) @Column(name = "nfhlxzsc", length = 1) private String nfhlxzsc; @PropertyDef(label = "杀虫技术" ) @Column(name = "scjs", length = 1) private String scjs; @PropertyDef(label = "能否富氮低氧气调储粮" ) @Column(name = "nffddyqtcl", length = 1) private String nffddyqtcl; @PropertyDef(label = "控温技术" ) @Column(name = "kwjs", length = 1) private String kwjs; @PropertyDef(label = "害虫检测方式" ) @Column(name = "hcjcfs", length = 2) private String hcjcfs; @PropertyDef(label = "仓房状态" ) @Column(name = "cfzt", length = 1) private String cfzt; @PropertyDef(label = "保管员" ) @Column(name = "bgr", length = 128) private String bgr; @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 = "czbz", length = 1) private String czbz; @PropertyDef(label = "最后更新时间" ) @JSONField(format = "yyyy-MM-dd HH:mm:ss") @Column(name = "zhgxsj") private Date zhgxsj; /*----------上海市平台规范字段----------*/ @PropertyDef(label = "廒间数") @Column(name = "ajs") private Integer ajs; @PropertyDef(label = "仓房承储状态" ) @Column(name = "cfcczt", length = 1) private String cfcczt; @PropertyDef(label = "标记位") @Column(name = "bjw", length = 40) private String bjw; /*----------接口系统自定义字段----------*/ @JSONField(serialize = false) @PropertyDef(label = "业务id") @Column(name = "bizId", length = 40) private String bizId; @JSONField(serialize = false) @PropertyDef(label = "同步时间", description = "从粮库系统同步到接口管理中心的时间") @Column(name = "syncTime") private Date syncTime; }