自动化立体仓库 - WMS系统
#
wang..123
2022-02-21 d385e17d9c172c7659b252c538b45e7091c9de24
src/main/java/com/zy/asrs/entity/PltBarcode.java
@@ -9,6 +9,7 @@
import com.zy.system.entity.User;
import com.zy.system.service.UserService;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
@@ -16,6 +17,7 @@
import java.util.Date;
@TableName("asr_plt_barcode")
@Data
public class PltBarcode implements Serializable {
    private static final long serialVersionUID = 1L;
@@ -71,6 +73,13 @@
    private Double qty;
    /**
     * 总数量
     */
    @ApiModelProperty(value= "总数量")
    @TableField("all_qty")
    private Double allQty;
    /**
     * 库位号
     */
    @ApiModelProperty(value= "库位号")
@@ -106,15 +115,35 @@
     */
    @ApiModelProperty(value= "单重")
    private Double weight;
    /**
     * 总重
     */
    @ApiModelProperty(value= "总重量")
    @TableField("all_weight")
    private Double allWeight;
    /**
     * 来源
     */
    @ApiModelProperty(value="来源")
    private String source;
    /**
     * 批号
     */
    @ApiModelProperty(value = "批号")
    private String supplier;
    /**
     * 供应商
     */
    @ApiModelProperty(value = "供应商")
    private String vendor;
    /**
     * 备注
     */
    @ApiModelProperty(value= "备注")
    private String memo;
    @ApiModelProperty(value= "批号")
    private String supplier;
//    @ApiModelProperty(value= "批号")
//    private String supplier;
    /**
     * ERP连线 0: 非连线  1: ERP连线  
@@ -168,9 +197,49 @@
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date appeTime;
    /**
     * 单箱数量
     */
    @ApiModelProperty(value = "单箱数量")
    @TableField("qty_box")
    private Double qtyBox;
    /**
     * 客户名称
     */
    @ApiModelProperty(value= "客户名称")
    private String str3;
    /**
     * 项目信息
     */
    @ApiModelProperty(value= "项目信息")
    private String str4;
    /**
     * 类别
     */
    @ApiModelProperty(value= "类别")
    private String str5;
    public String getStr5$(){
        if (Cools.isEmpty(this.str5) ){
            return "";
        }
        if (this.str5.equals("1")){
            return "原材料";
        }
        if (this.str5.equals("2")){
            return "成品";
        }
        if (this.str5.equals("3")){
            return "半成品";
        }
        return "";
    }
    public PltBarcode() {}
    public PltBarcode(String barcode,String billNo,Integer seqNo,Integer billType,String matNo,String matName,Double qty,String locNo,String specs,String unit,String size,String color,Double weight,String memo,Integer linkErp,Integer ioStatus,Date ioTime,Long modiUser,Date modiTime,Long appeUser,Date appeTime) {
    public PltBarcode(String barcode,Double allQty,Double qtyBox,String source,String supplier,String vendor,Double allWeight,String billNo,Integer seqNo,Integer billType,String matNo,String matName,Double qty,String locNo,String specs,String unit,String size,String color,Double weight,String memo,Integer linkErp,Integer ioStatus,Date ioTime,Long modiUser,Date modiTime,Long appeUser,Date appeTime) {
        this.barcode = barcode;
        this.billNo = billNo;
        this.seqNo = seqNo;
@@ -192,6 +261,12 @@
        this.modiTime = modiTime;
        this.appeUser = appeUser;
        this.appeTime = appeTime;
        this.allQty=allQty;
        this.allWeight=allWeight;
        this.source=source;
        this.supplier=supplier;
        this.vendor=vendor;
        this.qtyBox=qtyBox;
    }
//    PltBarcode pltBarcode = new PltBarcode(
@@ -225,6 +300,14 @@
    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }
    public double getAllWeight(){return allWeight;}
    public void setAllWeight(Double allweight){this.allWeight=allweight;}
    public Double getAllQty(){return allQty;}
    public void setAllQty(Double allqty){this.allQty=allqty;}
    public String getBillNo() {
        return billNo;
@@ -340,13 +423,13 @@
        this.weight = weight;
    }
    public String getSupplier() {
        return supplier;
    }
    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }
//    public String getSupplier() {
//        return supplier;
//    }
//
//    public void setSupplier(String supplier) {
//        this.supplier = supplier;
//    }
    public String getMemo() {
        return memo;