| | |
| | | import com.fasterxml.jackson.annotation.JsonIgnore; |
| | | |
| | | import lombok.Data; |
| | | import lombok.Getter; |
| | | import lombok.Setter; |
| | | |
| | | import javax.persistence.Column; |
| | | import javax.persistence.Entity; |
| | |
| | | import javax.persistence.Table; |
| | | |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 接口表-库区信息 |
| | | */ |
| | | @Data |
| | | @Getter |
| | | @Setter |
| | | @Entity |
| | | @Table(name = "API_1102") |
| | | public class Api1102 implements Serializable { |
| | | |
| | | /** |
| | | * |
| | | */ |
| | | private static final long serialVersionUID = 6597930270077627879L; |
| | | |
| | | |
| | | /*----------国标字段----------*/ |
| | | @Id |
| | | @PropertyDef(label = "库区代码") |
| | | @Column(name = "kqdm", length = 21) |
| | | private String kqdm; |
| | | |
| | | @JsonIgnore |
| | | @PropertyDef(label = "业务id") |
| | | @Column(name = "bizId", length = 40) |
| | | private String bizId; |
| | | |
| | | @PropertyDef(label = "单位代码") |
| | | @Column(name = "dwdm", length = 18) |
| | |
| | | @Column(name = "xzqhdm", length = 6) |
| | | private String xzqhdm; |
| | | |
| | | @JSONField(serialize = false) |
| | | @PropertyDef(label = "行政区划名称", description = "非国标字段,后期增加") |
| | | @Column(name = "xzqhmc", length = 20) |
| | | private String xzqhmc; |
| | | |
| | | @PropertyDef(label = "库区产权", description = "1: 自有 2:租赁 3:共有 4:混合 9:其他") |
| | | @Column(name = "kqcq", length = 1) |
| | | private String kqcq; |
| | | |
| | | @PropertyDef(label = "有效仓容") |
| | | @Column(name = "yxcr", precision = 20, scale = 6) |
| | | private double yxcr; |
| | | private Double yxcr; |
| | | |
| | | @PropertyDef(label = "有效罐容") |
| | | @Column(name = "yxgr", precision = 20, scale = 6) |
| | | private double yxgr; |
| | | private Double yxgr; |
| | | |
| | | @PropertyDef(label = "占地面积") |
| | | @Column(name = "zdmj", precision = 20, scale = 6) |
| | | private double zdmj; |
| | | private Double zdmj; |
| | | |
| | | @PropertyDef(label = "仓房数") |
| | | @Column(name = "cfs") |
| | |
| | | |
| | | @PropertyDef(label = "库区经度") |
| | | @Column(name = "jd", precision = 20, scale = 6) |
| | | private double jd; |
| | | private Double jd; |
| | | |
| | | @PropertyDef(label = "库区纬度") |
| | | @Column(name = "wd", precision = 20, scale = 6) |
| | | private double wd; |
| | | private Double wd; |
| | | |
| | | @PropertyDef(label = "库区状态", description = "1:正常(默认) 2:退出储备粮承储") |
| | | @Column(name = "kqzt", length = 1) |
| | | private String kqzt; |
| | | |
| | | @PropertyDef(label = "海康区域ID", description = "对应海康视频平台regionIndexCode字段") |
| | | @Column(name = "hkRegionId", length = 36) |
| | | private String hkRegionId; |
| | | |
| | | @PropertyDef(label = "产权方库区代码", description = "自有产权时库区代码必须等于产权方库区代码,非自有产权时库区代码不能等于产权方库区代码") |
| | | @Column(name = "cqfkqdm", length = 21) |
| | | private String cqfkqdm; |
| | | |
| | | @PropertyDef(label = "操作标志") |
| | | @Column(name = "czbz", length = 1) |
| | |
| | | @Column(name = "zhgxsj", nullable = false) |
| | | private Date zhgxsj; |
| | | |
| | | |
| | | /*----------广东省平台规范字段----------*/ |
| | | @PropertyDef(label = "海康区域ID", description = "对应海康视频平台regionIndexCode字段") |
| | | @Column(name = "hkRegionId", length = 36) |
| | | private String hkRegionId; |
| | | |
| | | @PropertyDef(label = "产权方库区代码", description = "自有产权时库区代码必须等于产权方库区代码,非自有产权时库区代码不能等于产权方库区代码") |
| | | @Column(name = "cqfkqdm", length = 21) |
| | | private String cqfkqdm; |
| | | |
| | | |
| | | /*----------上海市平台规范字段----------*/ |
| | | @PropertyDef(label = "库区属性", description = "1:市级直属,2:区级直属,3:社会仓容,4:其他") |
| | | @JSONField(serialize = false) |
| | | @Column(name = "kqsx", length = 1) |
| | | private String kqsx; |
| | | |
| | | @PropertyDef(label = "廒间数") |
| | | @Column(name = "ajs") |
| | | private Integer ajs; |
| | | |
| | | @PropertyDef(label = "标记位") |
| | | @Column(name = "bjw", length = 40) |
| | | private String bjw; |
| | | |
| | | @PropertyDef(label = "储备仓容") |
| | | @Column(name = "cbcr") |
| | | private Double cbcr; |
| | | |
| | | |
| | | /*----------接口系统自定义字段----------*/ |
| | | @JsonIgnore |
| | | @PropertyDef(label = "业务id") |
| | | @Column(name = "bizId", length = 40) |
| | | private String bizId; |
| | | |
| | | @JSONField(serialize = false) |
| | | @PropertyDef(label = "行政区划名称", description = "非国标字段,后期增加") |
| | | @Column(name = "xzqhmc", length = 20) |
| | | private String xzqhmc; |
| | | |
| | | } |