CZT
2023-10-11 564295458c720206db9b5194b90481b711f4b010
igds-core/src/main/java/com/ld/igds/models/DepotStore.java
@@ -35,7 +35,7 @@
    @PropertyDef(label = "组织编码")
    private String companyId;
    @Column(name = "DEPT_ID_", length = 20)
    @Column(name = "DEPT_ID_", length = 40)
    @PropertyDef(label = "所属库区")
    private String deptId;
@@ -43,9 +43,17 @@
    @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 = "粮食性质")
@@ -59,33 +67,41 @@
    @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 = "DEPOT_STATUS_", length = 10)
    @PropertyDef(label = "仓库状态")
    private String depotStatus;
    @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 = "STORAGE_REAL_")
    @PropertyDef(label = "实际储量", description = "单位:KG")
    private Double storageReal;
    @Column(name = "FULL_DATE_")
    @PropertyDef(label = "封仓日期", description = "当货位(油罐)状态为封仓时,此项为必填项")
    private Date fullDate;
    @Column(name = "OUT_DATE_")
    @PropertyDef(label = "出仓时间", description = "入库时间,第一车粮食出仓时间,格式:yyyy-MM-dd HH:mm:ss")
    @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 = "单位:米")
@@ -103,12 +119,12 @@
    @PropertyDef(label = "修改人")
    private String updateUser;
    @Column(name = "UPDATE_DATE_")
    @PropertyDef(label = "修改时间")
    private Date updateDate;
    @Column(name = "CREATE_DATE_")
    @PropertyDef(label = "创建时间")
    private Date createDate;
    public DepotStore() {
@@ -135,7 +151,6 @@
        this.remark = remark;
        this.updateUser = updateUser;
        this.updateDate = updateDate;
        this.createDate = createDate;
    }
    public DepotStore(Depot depot, String depotStatus) {
@@ -152,6 +167,5 @@
        this.storageReal = depot.getStorageReal();
        this.storeDate = new Date();
        this.updateDate = new Date();
        this.createDate = new Date();
    }
}