package com.fzzy.async.fzzy61.entity;
|
|
import com.bstek.dorado.annotation.PropertyDef;
|
import com.fzzy.async.fzzy30.entity.Depot;
|
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;
|
|
/**
|
* @Desc: 粮食库存管理,根据国标标结果要求创建
|
* @author: Andy
|
* @update-time: 2022/11/17
|
*/
|
@Data
|
@Entity
|
@Table(name = "D_DEPOT_STORE")
|
public class Fz61DepotStore implements Serializable {
|
|
public static String SORT_PROP = "id";
|
|
@Id
|
@Column(name = "ID_", length = 40)
|
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 = "DEPOT_ID_", length = 50)
|
@PropertyDef(label = "所属仓库")
|
private String depotId;
|
|
@Column(name = "COUNTRY_", length = 10)
|
@PropertyDef(label = "国别")
|
private String country;
|
|
@Column(name = "STORE_TYPE_", length = 6)
|
@PropertyDef(label = "储粮方式", description = "1:散装储粮 2:包装储粮 3:围包散存 9:其他")
|
private String storeType;
|
|
@Column(name = "MANAGE_TYPE_", length = 6)
|
@PropertyDef(label = "管理方式", description = "01 直储02 代储03 租仓04 委托")
|
private String manageType;
|
|
@Column(name = "FOOD_TYPE_", length = 10)
|
@PropertyDef(label = "粮食性质")
|
private String foodType;
|
|
@Column(name = "FOOD_VARIETY_", length = 10)
|
@PropertyDef(label = "粮食品种")
|
private String foodVariety;
|
|
@Column(name = "FOOD_LEVEL_", length = 10)
|
@PropertyDef(label = "粮食等级")
|
private String foodLevel;
|
|
@Column(name = "FOOD_LOCATION_ID_", length = 50)
|
@PropertyDef(label = "粮食产地")
|
private String foodLocationId;
|
|
@Column(name = "FOOD_LOCATION_", length = 50)
|
@PropertyDef(label = "粮食产地")
|
private String foodLocation;
|
|
@Column(name = "FOOD_YEAR_", length = 10)
|
@PropertyDef(label = "收货年度")
|
private String foodYear;
|
|
@Column(name = "DEPOT_STATUS_", length = 10)
|
@PropertyDef(label = "仓库状态", description = "1=空仓、2=入库中、3=满仓、4=出库中、9=其他")
|
private String depotStatus;
|
|
@Column(name = "STORE_DATE_")
|
@PropertyDef(label = "入库时间", description = "入库时间,第一车粮食入仓时间,格式:yyyy-MM-dd HH:mm:ss")
|
private Date storeDate;
|
|
@Column(name = "FULL_DATE_")
|
@PropertyDef(label = "封仓日期", description = "当货位(油罐)状态为封仓时,此项为必填项")
|
private Date fullDate;
|
|
@Column(name = "OUT_DATE_")
|
@PropertyDef(label = "出仓时间", description = "出库时间,最后一车粮食出仓完成时间,格式:yyyy-MM-dd HH:mm:ss")
|
private Date outDate;
|
|
@Column(name = "STORAGE_REAL_")
|
@PropertyDef(label = "实际储量", description = "单位:KG")
|
private Double storageReal;
|
|
@Column(name = "STORE_SETTLE__")
|
@PropertyDef(label = "计价数量", description = "单位:KG")
|
private Double storageSettle;
|
|
@Column(name = "GRAIN_HEIGHT_")
|
@PropertyDef(label = "装粮线高", description = "单位:米")
|
private Double grainHeight;
|
|
@Column(name = "GRAIN_VOLUME_")
|
@PropertyDef(label = "装粮体积", description = "单位:立方米")
|
private Double grainVolume;
|
|
@Column(name = "REMARK_", length = 250)
|
@PropertyDef(label = "备注", description = "备注信息")
|
private String remark;
|
|
@Column(name = "UPDATE_USER_", length = 50)
|
@PropertyDef(label = "修改人")
|
private String updateUser;
|
|
@PropertyDef(label = "粮权归属单位代码")
|
@Column(name = "lqgsdwdm", length = 18)
|
private String lqgsdwdm;
|
|
|
@Column(name = "UPDATE_DATE_")
|
@PropertyDef(label = "修改时间")
|
private Date updateDate;
|
|
@Column(name = "CREATE_DATE_")
|
private Date createDate;
|
|
}
|