“linengliang”
2023-10-18 3bef134da79cb768d6444d9a2fc68e0ca7cf7347
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
package org.jeecg.modules.eam.entity;
 
import com.baomidou.mybatisplus.annotation.TableField;
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 org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.common.constant.CommonConstant;
import org.jeecg.common.system.base.entity.JeecgEntity;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;
 
/**
 * @Description: 检定工单
 * @Author: jeecg-boot
 * @Date: 2023-04-23
 * @Version: V1.0
 */
@ApiModel(value = "mom_eam_calibration_order对象", description = "检定工单")
@Data
@TableName("mom_eam_calibration_order")
public class CalibrationOrder extends JeecgEntity implements Serializable {
    private static final long serialVersionUID = 1L;
 
    /**
     * 工单号
     */
    @Excel(name = "工单号", width = 15)
    @ApiModelProperty(value = "工单号")
    private String num;
    /**
     * 检定方式(self-自检,outsourcing-委外)
     */
    @Excel(name = "检定方式(self-自检,outsourcing-委外)", width = 15)
    @ApiModelProperty(value = "检定方式(self-自检,outsourcing-委外)")
    @Dict(dicCode = "calibration_type")
    private String calibrationType;
    /**
     * 设备id
     */
    @Excel(name = "设备id", width = 15)
    @ApiModelProperty(value = "设备id")
    private String equipmentId;
    /**
     * 判定依据(data-数据,report-报告)
     */
    @Excel(name = "判定依据(data-数据,report-报告)", width = 15)
    @ApiModelProperty(value = "判定依据(data-数据,report-报告)")
    @Dict(dicCode = "management_mode")
    private String managementMode;
 
    /**
     * 检定人
     */
    @Excel(name = "检定人", width = 15)
    @ApiModelProperty(value = "检定人")
    @Dict(dicCode = "id",dictTable="sys_user",dicText="username")
    private String calibrationUserId;
    /**
     * 检定时间
     */
    @Excel(name = "检定时间", width = 15)
    @ApiModelProperty(value = "检定时间")
    private java.util.Date calibrationTime;
    /**
     * 下发时间
     */
    @Excel(name = "下发时间", width = 15)
    @ApiModelProperty(value = "下发时间")
    private java.util.Date issueTime;
    /**
     * 检定结果
     */
    @Excel(name = "检定结果", width = 15)
    @ApiModelProperty(value = "检定结果")
    private String calibrationResult;
    /**
     * 检定结果描述
     */
    @Excel(name = "检定结果描述", width = 15)
    @ApiModelProperty(value = "检定结果描述")
    private String calibrationResultDesc;
    /**
     * 检定项目总数量
     */
    @Excel(name = "检定项目总数量", width = 15)
    @ApiModelProperty(value = "检定项目总数量")
    private Integer calibrationItemNum;
    /**
     * 检定项目合格数量
     */
    @Excel(name = "检定项目合格数量", width = 15)
    @ApiModelProperty(value = "检定项目合格数量")
    private Integer calibrationItemPassNum;
    /**
     * 检定项目不合格数量
     */
    @Excel(name = "检定项目不合格数量", width = 15)
    @ApiModelProperty(value = "检定项目不合格数量")
    private Integer calibrationItemFailNum;
    /**
     * 领取人id
     */
    @Excel(name = "领取人id", width = 15)
    @ApiModelProperty(value = "领取人id")
    private String recipientUserId;
    /**
     * 备注
     */
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
    /**
     * 备用字段1
     */
    @Excel(name = "备用字段1", width = 15)
    @ApiModelProperty(value = "备用字段1")
    private String calibrationOrderUda1;
    /**
     * 备用字段2
     */
    @Excel(name = "备用字段2", width = 15)
    @ApiModelProperty(value = "备用字段2")
    private String calibrationOrderUda2;
    /**
     * 备用字段3
     */
    @Excel(name = "备用字段3", width = 15)
    @ApiModelProperty(value = "备用字段3")
    private String calibrationOrderUda3;
    /**
     * 备用字段4
     */
    @Excel(name = "备用字段4", width = 15)
    @ApiModelProperty(value = "备用字段4")
    private String calibrationOrderUda4;
    /**
     * 备用字段5
     */
    @Excel(name = "备用字段5", width = 15)
    @ApiModelProperty(value = "备用字段5")
    private String calibrationOrderUda5;
    /**
     * 备用字段6
     */
    @Excel(name = "备用字段6", width = 15)
    @ApiModelProperty(value = "备用字段6")
    @Dict(dicCode = "technology_status")
    private String calibrationOrderUda6;
    /**
     * 企业ID
     */
    @Excel(name = "企业ID", width = 15)
    @ApiModelProperty(value = "企业ID")
    private String enterpriseId;
    /**
     * 删除状态(0-正常,1-已删除)
     */
    @Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
    @ApiModelProperty(value = "删除状态(0-正常,1-已删除)")
    private Integer delFlag = CommonConstant.DEL_FLAG_0;
    /**
     * 状态
     */
    @Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    @Dict(dicCode = "equipment_calibration_order_status")
    private String status;
 
    /*********************************************** 扩 展 字 段 ********************************************************/
    @TableField(exist = false)
    private String equipmentNum;
 
    @TableField(exist = false)
    private String equipmentName;
 
    @TableField(exist = false)
    private String equipmentModel;
 
    @TableField(exist = false)
    private String equipmentSpecification;
 
    @TableField(exist = false)
    private List<Map<String, Object>> precisionParameterList;
    /**
     * 设备名称
     */
    @TableField(exist = false)
    private String numName;
 
    /**
     * 设备型号
     */
    @TableField(exist = false)
    private String numModel;
 
    /**
     * 设备编码
     */
    @TableField(exist = false)
    private String numCode;
    /**
     * 设备规格
     */
    @TableField(exist = false)
    private String specification;
 
    @TableField(exist = false)
    @ApiModelProperty(value = "检定工单明细")
    private List<CalibrationOrderDetail> calibrationOrderDetailList;
 
    /**
     * 创建开始日期
     */
    @TableField(exist = false)
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createStartDate;
 
    /**
     * 结束开始日期
     */
    @TableField(exist = false)
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createEndDate;
 
    /**
     * 下发开始日期
     */
    @TableField(exist = false)
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date issueStartDate;
 
    /**
     * 下发开始日期
     */
    @TableField(exist = false)
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date issueEndDate;
}