自动化立体仓库 - 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;
    /**
@@ -151,7 +158,7 @@
     * 厂家
     */
    @ApiModelProperty(value= "厂家")
    @ExcelProperty(value = "商品编号")
    @ExcelProperty(value = "厂家")
    private String manu;
    /**
@@ -305,6 +312,37 @@
    @ApiModelProperty(value= "备注")
    @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() {}
@@ -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 "";
        }
    }
}