自动化立体仓库 - WMS系统
123
zhang
3 天以前 21d0e7ab9d5c7316225a3e9eecf465cd37c9bd85
src/main/java/com/zy/asrs/entity/Mat.java
@@ -59,8 +59,15 @@
     * 商品编号
     */
    @ApiModelProperty(value= "商品编号")
    @ExcelProperty(value = "商品编码")
    @ExcelProperty(value = "商品编号")
    private String matnr;
    /**
     * 商品编号
     */
    @ApiModelProperty(value= "新商品编号")
    @ExcelProperty(value = "新商品编号")
    private String matnrNew;
    /**
@@ -306,6 +313,37 @@
    @ExcelProperty(value = "备注")
    private String memo;
    /**
     * 库存预警数量上限
     */
    @TableField("store_max")
    private Double storeMax;
    /**
     * 库存预警数量下限
     */
    @TableField("store_min")
    private Double storeMin;
    /**
     * 库龄预警上限
     */
    @TableField("store_max_date")
    private Integer storeMaxDate;
    /**
     * 高频入出库物料
     */
    @TableField("inout_everyday")
    private Boolean inoutEveryday;
    /**
     * 上架区域{1:单品区,2:高频混放区,3:低频混放区}
     */
    @ApiModelProperty(value= "上架区域")
    @TableField("mat_type")
    private Integer matType;
    public Mat() {}
    public Mat(String uuid,Long tagId,String matnr,String maktx,String name,String specs,String model,String color,String brand,String unit,Double price,String sku,Double units,String barcode,String origin,String manu,String manuDate,String itemNum,Double safeQty,Double weight,Double length,Double volume,String threeCode,String supp,String suppCode,Integer beBatch,String deadTime,Integer deadWarn,Integer source,Integer inspect,Integer danger,Integer status,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) {
@@ -492,4 +530,55 @@
    }
    public String getStoreMax$(){
        if (Cools.isEmpty(this.storeMax)) {
            return "";
        }else {
            return this.storeMax + "";
        }
    }
    public String getStoreMin$(){
        if (Cools.isEmpty(this.storeMin)) {
            return "";
        }else {
            return this.storeMin + "";
        }
    }
    public String getStoreMaxDate$(){
        if (Cools.isEmpty(this.storeMaxDate)) {
            return "";
        }else {
            return this.storeMaxDate + "";
        }
    }
    public String getInoutEveryday$(){
        if (this.inoutEveryday == null){
            return "否";
        }
        if (this.inoutEveryday){
            return "是";
        }else {
            return "否";
        }
    }
    public String getMatType$() {
        if (this.matType == null) {
            return "";
        }
        switch (this.matType) {
            case 1:
                return "单品区";
            case 2:
                return "高频混放区";
            case 3:
                return "低频混放区";
            default:
                return "";
        }
    }
}