自动化立体仓库 - WMS系统
zjj
2023-09-09 5d027c7a3425724fd7101bde2d1dd8d5c4fb8f1b
src/main/java/com/zy/asrs/entity/Mat.java
@@ -8,6 +8,7 @@
import com.core.common.Cools;
import com.core.common.SpringUtils;
import com.zy.asrs.service.TagService;
import com.zy.common.utils.Synchro;
import com.zy.system.entity.User;
import com.zy.system.service.UserService;
import io.swagger.annotations.ApiModelProperty;
@@ -306,9 +307,22 @@
    @ExcelProperty(value = "备注")
    private String memo;
    @ApiModelProperty(value= "修改人员")
    @TableField("inventory_max")
    private Integer inventoryMax;
    @ApiModelProperty(value= "修改人员")
    @TableField("inventory_min")
    private Integer inventoryMin;
    @ApiModelProperty(value= "修改人员")
    @TableField("inventory_age_max")
    private Integer inventoryAgeMax;
    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) {
    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,Integer inventoryMin,Integer inventoryMax,Integer inventoryAgeMax) {
        this.uuid = uuid;
        this.tagId = tagId;
        this.matnr = matnr;
@@ -346,6 +360,9 @@
        this.updateBy = updateBy;
        this.updateTime = updateTime;
        this.memo = memo;
        this.inventoryAgeMax = inventoryAgeMax;
        this.inventoryMax = inventoryMax;
        this.inventoryMin = inventoryMin;
    }
//    Mat mat = new Mat(
@@ -491,5 +508,8 @@
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.updateTime);
    }
    public void sync(Object source) {
        Synchro.Copy(source, this);
    }
}