package com.fzzy.async.whhpjl.entity;
|
|
import com.bstek.dorado.annotation.PropertyDef;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
|
import javax.persistence.*;
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 货位信息
|
*
|
* @Author:YAN
|
*/
|
@Data
|
@Entity
|
@Table(name = "D_DEPOT")
|
public class Fz40WhjlDefaultDepot 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 = "BUILDING_ID_", length = 40)
|
@PropertyDef(label = "所属仓房")
|
private String buildingId;
|
|
@Column(name = "GRANARY_ID_", length = 40)
|
@PropertyDef(label = "所属廒间")
|
private String granaryId;
|
|
@Column(name = "DEPOT_TYPE_", length = 10)
|
@PropertyDef(label = "仓库类型", description = "根据国标配置类型,平房仓、立筒仓、浅圆仓、储油罐")
|
private String depotType;
|
|
@Column(name = "DEPOT_STATUS_", length = 10)
|
@PropertyDef(label = "仓库状态", description = "与库存表关联,通过库存变更")
|
private String depotStatus;
|
|
@Column(name = "STORE_TYPE_", length = 6)
|
@PropertyDef(label = "储粮方式", description = "与库存表关联")
|
private String storeType;
|
|
@Column(name = "STORAGE_MAX_")
|
@PropertyDef(label = "设计储量", description = "单位:吨")
|
private Double storageMax;
|
|
@Column(name = "STORAGE_REAL_", insertable = true)
|
@PropertyDef(label = "实际储量", description = "单位:KG,通过库存变更")
|
private Double storageReal;
|
|
@Column(name = "FOOD_TYPE_", length = 10)
|
@PropertyDef(label = "粮食性质", description = "与库存表关联,通过库存变更")
|
private String foodType;
|
|
@Column(name = "FOOD_VARIETY_", length = 10)
|
@PropertyDef(label = "粮食品种", description = "与库存表关联,通过库存变更")
|
private String foodVariety;
|
|
@Column(name = "FOOD_LEVEL_", length = 10)
|
@PropertyDef(label = "粮食等级", description = "与库存表关联,通过库存变更")
|
private String foodLevel;
|
|
@Column(name = "FOOD_LOCATION_", length = 50)
|
@PropertyDef(label = "粮食产地", description = "与库存表关联,通过库存变更")
|
private String foodLocation;
|
|
@Column(name = "FOOD_YEAR_", length = 10)
|
@PropertyDef(label = "粮食年份", description = "与库存表关联,通过库存变更")
|
private String foodYear;
|
|
@Column(name = "PER_WET_")
|
@PropertyDef(label = "水分", description = "百分比,默认为空,来源质检信息")
|
private Double perWet;
|
|
@Column(name = "PER_IMPURITY_")
|
@PropertyDef(label = "杂质", description = "百分比,默认为空,来源质检信息")
|
private Double perImpurity;
|
|
@Column(name = "BULK_WEIGHT_")
|
@PropertyDef(label = "容重 g/L", description = "容重 g/L")
|
private Double bulkWeight;
|
|
@Column(name = "STORE_KEEPER_", length = 30)
|
@PropertyDef(label = "保管员账号")
|
private String storeKeeper;
|
|
@Column(name = "STORE_KEEPER_NAME_", length = 50)
|
@PropertyDef(label = "保管员", description = "中文名称")
|
private String storeKeeperName;
|
|
@Column(name = "STORE_DATE_")
|
@PropertyDef(label = "入库时间", description = "默认空,通过库存变更")
|
private Date storeDate;
|
|
@Column(name = "CHECK_DATE_")
|
@PropertyDef(label = "最后质检时间", description = "默认空,来源质检信息")
|
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
private Date checkDate;
|
|
@Column(name = "REMARK_", length = 200)
|
@PropertyDef(label = "备注", description = "备注信息")
|
private String remark;
|
|
@Column(name = "UPDATE_TIME_")
|
@PropertyDef(label = "数据更新时间")
|
private Date updateTime;
|
|
}
|