| | |
| | | import java.math.BigDecimal; |
| | | import java.time.LocalDate; |
| | | import java.time.LocalDateTime; |
| | | import java.util.Date; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ruoyi.framework.aspectj.lang.annotation.Excel; |
| | |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Getter; |
| | | import lombok.Setter; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | @ApiModelProperty("产品型号id") |
| | | private Long productModelId; |
| | | |
| | | @ApiModelProperty("批次号") |
| | | @Excel(name = "批次号") |
| | | private String batchNo; |
| | | |
| | | @ApiModelProperty("数量") |
| | | @Excel(name = "数量") |
| | | private BigDecimal quantity; |
| | | |
| | | @ApiModelProperty("检验类型 0入厂检 1车间检 2出厂检") |
| | | @Excel(name = "检验类型", readConverterExp = "0=入厂检,1=车间检,2=出厂检") |
| | | private Integer checkType; |
| | | |
| | | @ApiModelProperty("批次号") |
| | | @Excel(name = "批次号") |
| | | private String batchNo; |
| | | |
| | | @ApiModelProperty("检验结果 0合格 1不合格") |
| | | @Excel(name = "检验结果", readConverterExp = "0=合格,1=不合格") |
| | |
| | | |
| | | @ApiModelProperty("检验日期") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = "检测日期", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private LocalDate checkTime; |
| | | private Date checkTime; |
| | | |
| | | @ApiModelProperty(value = "创建时间") |
| | | @TableField(fill = FieldFill.INSERT) |