| | |
| | | * 厂家 |
| | | */ |
| | | @ApiModelProperty(value= "厂家") |
| | | @ExcelProperty(value = "商品编号") |
| | | @ExcelProperty(value = "厂家") |
| | | private String manu; |
| | | |
| | | /** |
| | |
| | | * 要求检验 1: 是 0: 否 |
| | | */ |
| | | @ApiModelProperty(value= "要求检验 1: 是 0: 否 ") |
| | | private Integer check; |
| | | private Integer inspect; |
| | | |
| | | /** |
| | | * 危险品 1: 是 0: 否 |
| | |
| | | @ExcelProperty(value = "备注") |
| | | private String memo; |
| | | |
| | | @TableField("store_max") |
| | | private Double storeMax; |
| | | |
| | | @TableField("store_min") |
| | | private Double storeMin; |
| | | |
| | | @TableField("store_max_date") |
| | | private Integer storeMaxDate; |
| | | |
| | | |
| | | 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 check,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) { |
| | | this.uuid = uuid; |
| | | this.tagId = tagId; |
| | | this.matnr = matnr; |
| | |
| | | this.deadTime = deadTime; |
| | | this.deadWarn = deadWarn; |
| | | this.source = source; |
| | | this.check = check; |
| | | this.inspect = inspect; |
| | | this.danger = danger; |
| | | this.status = status; |
| | | this.createBy = createBy; |
| | |
| | | } |
| | | } |
| | | |
| | | public String getCheck$(){ |
| | | if (null == this.check){ return null; } |
| | | switch (this.check){ |
| | | public String getInspect$(){ |
| | | if (null == this.inspect){ return null; } |
| | | switch (this.inspect){ |
| | | case 1: |
| | | return "是"; |
| | | case 0: |
| | | return "否"; |
| | | default: |
| | | return String.valueOf(this.check); |
| | | return String.valueOf(this.inspect); |
| | | } |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | |
| | | public String getStoreMax$(){ |
| | | if (Cools.isEmpty(this.storeMax)) { |
| | | return "未设置"; |
| | | }else { |
| | | return this.storeMax + ""; |
| | | } |
| | | } |
| | | |
| | | public String getStoreMin$(){ |
| | | if (Cools.isEmpty(this.storeMin)) { |
| | | return "未设置"; |
| | | }else { |
| | | return this.storeMin + ""; |
| | | } |
| | | } |
| | | |
| | | public String getStoreMaxDate$(){ |
| | | if (Cools.isEmpty(this.storeMaxDate)) { |
| | | return "未设置"; |
| | | }else { |
| | | return this.storeMaxDate + "天"; |
| | | } |
| | | } |
| | | |
| | | } |