| | |
| | | @ApiModelProperty(value= "商品名称") |
| | | private String maktx; |
| | | |
| | | @ApiModelProperty(value= "批号") |
| | | @ApiModelProperty(value= "序列码") |
| | | private String batch; |
| | | |
| | | @ApiModelProperty(value= "单据编号") |
| | |
| | | @ApiModelProperty(value= "备注") |
| | | private String memo; |
| | | |
| | | /** |
| | | * 物料类型{1:单品,2:高频,3:混放} |
| | | */ |
| | | @ApiModelProperty(value= "物料类型") |
| | | @TableField("mat_type") |
| | | private Integer matType; |
| | | |
| | | public String getBeBatch$(){ |
| | | if (null == this.beBatch){ return null; } |
| | | switch (this.beBatch){ |
| | |
| | | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.appeTime); |
| | | } |
| | | |
| | | public String getMatType$() { |
| | | if (this.matType == null) { |
| | | return ""; |
| | | } |
| | | switch (this.matType) { |
| | | case 1: |
| | | return "单品"; |
| | | case 2: |
| | | return "高频"; |
| | | case 3: |
| | | return "混放"; |
| | | default: |
| | | return ""; |
| | | } |
| | | } |
| | | |
| | | } |