| | |
| | | */ |
| | | @ApiModelProperty(value= "总重量") |
| | | @TableField("all_weight") |
| | | private double allWeight; |
| | | private Double allWeight; |
| | | /** |
| | | * 来源:1、外协 2、自制 3、客供 |
| | | * 来源 |
| | | */ |
| | | @ApiModelProperty(value="来源:1、外协 2、自制 3、客供") |
| | | private Integer source; |
| | | @ApiModelProperty(value="来源") |
| | | private String source; |
| | | /** |
| | | * 供应商 |
| | | * 批号 |
| | | */ |
| | | @ApiModelProperty(value = "批号") |
| | | private String supplier; |
| | |
| | | * 供应商 |
| | | */ |
| | | @ApiModelProperty(value = "供应商") |
| | | @TableField("batch_number") |
| | | private String batchNumber; |
| | | private String vendor; |
| | | /** |
| | | * 备注 |
| | | */ |
| | |
| | | @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,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) { |
| | | 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; |
| | |
| | | this.allWeight=allWeight; |
| | | this.source=source; |
| | | this.supplier=supplier; |
| | | this.batchNumber=batchNumber; |
| | | this.vendor=vendor; |
| | | this.qtyBox=qtyBox; |
| | | } |
| | | |
| | | // PltBarcode pltBarcode = new PltBarcode( |
| | |
| | | |
| | | public double getAllWeight(){return allWeight;} |
| | | |
| | | public void setAllWeight(double allweight){this.allWeight=allweight;} |
| | | public void setAllWeight(Double allweight){this.allWeight=allweight;} |
| | | |
| | | public double getAllQty(){return allQty;} |
| | | public Double getAllQty(){return allQty;} |
| | | |
| | | public void setAllQty(double allqty){this.allQty=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$(){ |