EquipmentSparepartSuppliesInspectAddDto.java
3.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
package com.skua.modules.supplies.dto;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
/**
* 物料抽检 add
*/
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="EquipmentSparepartSuppliesInspectAddDto", description="物料抽检 add")
public class EquipmentSparepartSuppliesInspectAddDto {
/**抽检单号*/
@ApiModelProperty(value = "抽检id")
private String inspectId;
/**抽检单号*/
@ApiModelProperty(value = "抽检单号")
private String inspectOrder;
/**物料id*/
@ApiModelProperty(value = "物料id")
@NotBlank
private String suppliesId;
/**仓库id*/
@NotBlank
@ApiModelProperty(value = "仓库id")
private String suppliesWarehouseId;
/**检验员*/
@Excel(name = "检验员", width = 15)
@ApiModelProperty(value = "检验员")
private String inspector;
/**抽检数量*/
@ApiModelProperty(value = "抽检数量")
private BigDecimal inspectNum;
/**质量情况*/
@ApiModelProperty(value = "质量情况(字典[supplies_inspect_quality_result])")
private String qualityResult;
/**综合评价*/
@ApiModelProperty(value = "综合评价")
private String evaluate;
/**附件url 以,分割)*/
@ApiModelProperty(value = "附件url 以,分割)")
private String accessories;
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
@DateTimeFormat(pattern="yyyy-MM-dd")
@ApiModelProperty(value = "抽检时间")
private Date inspectTime;
@ApiModelProperty(value = "抽检详情")
private List<IspectDetailAddDTO> inspectDetailList;
// @ApiModel(value="EquipmentSparepartSuppliesInspectAddDto#IspectDetail", description="物料抽检详情 add")
@Data
public static class IspectDetailAddDTO{
/**检验内容*/
@Excel(name = "检验内容", width = 15)
@ApiModelProperty(value = "检验内容")
private java.lang.String inspectContent;
/**检验方法*/
@Excel(name = "检验方法", width = 15)
@ApiModelProperty(value = "检验方法")
private java.lang.String inspectWay;
/**数据*/
@Excel(name = "数据", width = 15)
@ApiModelProperty(value = "数据")
private java.lang.String data;
/**检验结果*/
@Excel(name = "检验结果", width = 15)
@ApiModelProperty(value = "检验结果")
private java.lang.String inspectResult;
/**国家标准/检验依据*/
@Excel(name = "国家标准/检验依据", width = 15)
@ApiModelProperty(value = "国家标准/检验依据")
private java.lang.String inspectStandard;
/**备注*/
@Excel(name = "备注", width = 15)
@ApiModelProperty(value = "备注")
private java.lang.String remark;
}
}