| | |
| | | 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; |
| | |
| | | import java.util.Date; |
| | | |
| | | @TableName("asr_plt_barcode") |
| | | @Data |
| | | public class PltBarcode implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | |
| | | private Double qty; |
| | | |
| | | /** |
| | | * 总数量 |
| | | */ |
| | | @ApiModelProperty(value= "总数量") |
| | | @TableField("all_qty") |
| | | private Double allQty; |
| | | |
| | | /** |
| | | * 库位号 |
| | | */ |
| | | @ApiModelProperty(value= "库位号") |
| | |
| | | */ |
| | | @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连线 |
| | |
| | | |
| | | 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; |
| | |
| | | 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( |
| | |
| | | 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; |
| | | } |
| | |
| | | |
| | | 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$(){ |
| | |
| | | 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; |