自动化立体仓库 - WMS系统
#
wang..123
2022-02-14 a869e7291b6016b297bc00b30a2e83f8ed3983ea
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,36 @@
     */
    @ApiModelProperty(value= "单重")
    private Double weight;
    /**
     * 总重
     */
    @ApiModelProperty(value= "总重量")
    @TableField("all_weight")
    private double allWeight;
    /**
     * 来源:1、外协 2、自制 3、客供
     */
    @ApiModelProperty(value="来源:1、外协 2、自制 3、客供")
    private Integer source;
    /**
     * 供应商
     */
    @ApiModelProperty(value = "批号")
    private String supplier;
    /**
     * 供应商
     */
    @ApiModelProperty(value = "供应商")
    @TableField("batch_number")
    private String batchNumber;
    /**
     * 备注
     */
    @ApiModelProperty(value= "备注")
    private String memo;
    @ApiModelProperty(value= "批号")
    private String supplier;
//    @ApiModelProperty(value= "批号")
//    private String supplier;
    /**
     * ERP连线 0: 非连线  1: ERP连线  
@@ -170,7 +200,7 @@
    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,Integer source,String supplier,String batchNumber,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 +222,11 @@
        this.modiTime = modiTime;
        this.appeUser = appeUser;
        this.appeTime = appeTime;
        this.allQty=allQty;
        this.allWeight=allWeight;
        this.source=source;
        this.supplier=supplier;
        this.batchNumber=batchNumber;
    }
//    PltBarcode pltBarcode = new PltBarcode(
@@ -226,6 +261,14 @@
        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;
    }
@@ -244,6 +287,20 @@
    public Integer getBillType() {
        return billType;
    }
    public String getSource$(){
        if (null == this.source){ return null; }
        switch (this.source){
            case 1:
                return "外协";
            case 2:
                return "自制";
            case 3:
                return "客供";
            default:
                return String.valueOf(this.source);
        }
    }
    public String getBillType$(){
@@ -340,13 +397,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;