| | |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import lombok.experimental.Accessors; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | |
| | | @ApiModelProperty(value= "物料名称") |
| | | private String maktx; |
| | | |
| | | @ApiModelProperty("规格") |
| | | private String spec; |
| | | |
| | | @ApiModelProperty("型号") |
| | | private String model; |
| | | |
| | | /** |
| | | * 送货数量 |
| | | */ |
| | |
| | | private Integer ntyStatus; |
| | | |
| | | /** |
| | | * 状态 1: 正常 0: 冻结 |
| | | * 质检结果 |
| | | */ |
| | | @ApiModelProperty("质检结果") |
| | | private Short isptResult; |
| | | |
| | | /** |
| | | * 质检状态 |
| | | */ |
| | | @ApiModelProperty("质检状态") |
| | | private Short isptStatus; |
| | | |
| | | |
| | | @ApiModelProperty("合格数量") |
| | | private Double safeQty; |
| | | |
| | | @ApiModelProperty("不合格数量") |
| | | private Double disQty; |
| | | |
| | | /** |
| | | * 状态 1: 正常 0: 冻结 |
| | | */ |
| | | @ApiModelProperty(value= "状态 1: 正常 0: 冻结 ") |
| | | private Integer status; |
| | | |
| | | /** |
| | | * 是否删除 1: 是 0: 否 |
| | | * 是否删除 1: 是 0: 否 |
| | | */ |
| | | @ApiModelProperty(value= "是否删除 1: 是 0: 否 ") |
| | | private Integer deleted; |
| | |
| | | */ |
| | | @ApiModelProperty(value= "添加时间") |
| | | @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
| | | private Date createTime; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @ApiModelProperty(value= "修改时间") |
| | | @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
| | | private Date updateTime; |
| | | |
| | | /** |
| | |
| | | } |
| | | } |
| | | |
| | | public String getIsptResult$(){ |
| | | if (null == this.isptResult){ return null; } |
| | | switch (this.isptResult){ |
| | | case 0: |
| | | return "未检"; |
| | | case 1: |
| | | return "合格"; |
| | | case 2: |
| | | return "不合格"; |
| | | case 3: |
| | | return "待定"; |
| | | case 4: |
| | | return "部分合格"; |
| | | default: |
| | | return ""; |
| | | } |
| | | } |
| | | |
| | | } |