| package com.fzzy.async.fzzy35.entity; | 
|   | 
| import com.bstek.dorado.annotation.PropertyDef; | 
| 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; | 
|   | 
| /** | 
|  * 建筑物,包括仓房和其他房子 | 
|  * <p> | 
|  * 仓库的敖间使用的是:Depot类,一个仓房建筑可能包含多个敖间。 | 
|  * <p> | 
|  * 当前定义对象仅仅用于建筑物的数据配置 | 
|  */ | 
| @Data | 
| @Entity | 
| @Table(name = "D_BUILDING") | 
| public class Fz35Building implements Serializable { | 
|   | 
|     /** | 
|      *  | 
|      */ | 
|     private static final long serialVersionUID = 1L; | 
|   | 
|     @Id | 
|     @Column(name = "ID_", length = 50) | 
|     @PropertyDef(label = "仓房编码") | 
|     private String id; | 
|   | 
|     @Column(name = "COMPANY_ID_", length = 10) | 
|     @PropertyDef(label = "组织编码") | 
|     private String companyId; | 
|   | 
|     @Column(name = "DEPT_ID_", length = 40) | 
|     @PropertyDef(label = "所属库点") | 
|     private String deptId; | 
|   | 
|     @Column(name = "NAME_", length = 50) | 
|     @PropertyDef(label = "建筑名称") | 
|     private String name; | 
|   | 
|     @Column(name = "STORAGE_") | 
|     @PropertyDef(label = "设计储量", description = "单位:KG") | 
|     private Double storage; | 
|   | 
|     @Column(name = "USER_DATE_") | 
|     @PropertyDef(label = "使用日期") | 
|     private Date userDate; | 
|   | 
|     @Column(name = "HEIGHT_", precision = 16, scale = 2) | 
|     @PropertyDef(label = "仓房高度", description = "单位:米") | 
|     private Double height; | 
|   | 
|     @Column(name = "LENGTH_", precision = 16, scale = 2) | 
|     @PropertyDef(label = "仓房长度", description = "单位:米") | 
|     private Double length; | 
|   | 
|     @Column(name = "WIDTH_", precision = 16, scale = 2) | 
|     @PropertyDef(label = "仓房宽度", description = "单位:米") | 
|     private Double width; | 
|   | 
|     @Column(name = "DIAMETER_", precision = 16, scale = 2) | 
|     @PropertyDef(label = "筒仓直径", description = "单位:米") | 
|     private Double diameter; | 
|   | 
|     @Column(name = "VOLUME_", precision = 16, scale = 2) | 
|     @PropertyDef(label = "筒仓体积", description = "单位:立方米") | 
|     private Double volume; | 
|   | 
|     @Column(name = "DOOR_NUM_") | 
|     @PropertyDef(label = "仓门数") | 
|     private Integer doorNum; | 
|   | 
|     @Column(name = "GROUND_", length = 20) | 
|     @PropertyDef(label = "地面结构") | 
|     private String ground; | 
|   | 
|     @Column(name = "WALL_", length = 20) | 
|     @PropertyDef(label = "墙体结构") | 
|     private String wall; | 
|   | 
|     @Column(name = "ROOF_", length = 20) | 
|     @PropertyDef(label = "屋顶结构") | 
|     private String roof; | 
|   | 
|     @Column(name = "ROOF_TRUSS_", length = 20) | 
|     @PropertyDef(label = "屋架结构") | 
|     private String roofTruss; | 
|   | 
|     @Column(name = "CREATE_DATE_") | 
|     @PropertyDef(label = "建造日期") | 
|     private Date createDate; | 
|      | 
|     @Column(name = "LON_", precision = 16, scale = 4) | 
|     @PropertyDef(label = "经度") | 
|     private Double lon; | 
|   | 
|     @Column(name = "LAT_", precision = 16, scale = 4) | 
|     @PropertyDef(label = "纬度") | 
|     private Double lat; | 
| } |