package com.fzzy.async.whhpjl.entity;
|
|
import com.bstek.dorado.annotation.PropertyDef;
|
import lombok.Data;
|
|
import javax.persistence.*;
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 仓房信息
|
*
|
* @Author:YAN
|
*/
|
@Data
|
@Entity
|
@Table(name = "D_BUILDING")
|
@IdClass(Fz40WhjlDefaultBuildKey.class)
|
public class Fz40WhjlDefaultBuild implements Serializable {
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 1L;
|
|
@Id
|
@Column(name = "ID_", length = 50)
|
@PropertyDef(label = "仓房编码")
|
private String id;
|
|
@Id
|
@Column(name = "COMPANY_ID_", length = 10)
|
@PropertyDef(label = "组织编码")
|
private String companyId;
|
|
@Column(name = "ggm", length = 50)
|
@PropertyDef(label = "国规码")
|
private String ggm;
|
|
@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;
|
}
|