cuijian
2023-08-19 bdd0875d4b13a3f1ef472f64d4b6a95e0ef64b22
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
package org.jeecg.modules.eam.entity;
 
import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import java.util.List;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.common.constant.CommonConstant;
import org.jeecg.common.system.base.entity.JeecgEntity;
import org.jeecg.common.system.base.entity.SysUpload;
import org.jeecg.modules.eam.model.TreatmentMeasureVo;
//import org.jeecg.modules.system.entity.SysUpload;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
 
/**
 * @Description: mom_eam_inspection_order_detail
 * @Author: jeecg-boot
 * @Date:   2023-04-11
 * @Version: V1.0
 */
@Data
@TableName("mom_eam_inspection_order_detail")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="mom_eam_inspection_order_detail对象", description="mom_eam_inspection_order_detail")
public class InspectionOrderDetail extends JeecgEntity implements Serializable {
    private static final long serialVersionUID = 1L;
 
    /**点检工单id*/
    @Excel(name = "点检工单id", width = 15)
    @ApiModelProperty(value = "点检工单id")
    @Dict(dictTable = "mom_eam_inspection_order", dicCode = "id", dicText = "num")
    private String inspectionOrderId;
 
    /**点检标准项目id*/
    @Excel(name = "点检标准项目id", width = 15)
    @ApiModelProperty(value = "点检标准项目id")
    private String inspectionStandardDetailId;
    /**点检项目id*/
    @Excel(name = "点检项目id", width = 15)
    @ApiModelProperty(value = "点检项目id")
    @Dict(dictTable = "mom_eam_inspection_project", dicCode = "id", dicText = "num")
    private String inspectionProjectId;
    /**序号*/
    @Excel(name = "序号", width = 15)
    @ApiModelProperty(value = "序号")
    private Integer sort;
    /**备注*/
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
    /**点检人*/
    @Excel(name = "点检人", width = 15)
    @ApiModelProperty(value = "点检人")
    private String checkUesrId;
    /**位置*/
    @Excel(name = "位置", width = 15)
    @ApiModelProperty(value = "位置")
    private String location;
    /**示意图*/
    @Excel(name = "示意图", width = 15)
    @ApiModelProperty(value = "示意图")
    private String photo;
    /**点检方法(字典:1目视,2手试,3工具)*/
    @Excel(name = "点检方法(字典:1目视,2手试,3工具)", width = 15)
    @ApiModelProperty(value = "点检方法(字典:1目视,2手试,3工具)")
    @Dict(dicCode = "inspection_method")
    private String inspectionMethod;
    /**点检工具*/
    @Excel(name = "点检工具", width = 15)
    @ApiModelProperty(value = "点检工具")
    private String inspectionTool;
    /**分析方法(字典:1定量,2定性)*/
    @Excel(name = "分析方法(字典:1定量,2定性)", width = 15)
    @ApiModelProperty(value = "分析方法(字典:1定量,2定性)")
    @Dict(dicCode = "analysis_method")
    private String analysisMethod;
    /**检验值类型(字典:1数值型,2枚举型)*/
    @Excel(name = "检验值类型(字典:1数值型,2枚举型)", width = 15)
    @ApiModelProperty(value = "检验值类型(字典:1数值型,2枚举型)")
    @Dict(dicCode = "test_value_type")
    private String testValueType;
    /**检测标准*/
    @Excel(name = "检测标准", width = 15)
    @ApiModelProperty(value = "检测标准")
    private String detectionStandard;
    /**合格范围*/
    @Excel(name = "合格范围", width = 15)
    @ApiModelProperty(value = "合格范围")
    private String acceptabilityLimit;
    /**点检结果*/
    @Excel(name = "点检结果", width = 15)
    @ApiModelProperty(value = "点检结果")
    private String inspectionProjectResult;
    /**判定结果(pass: 正常 ,fail:异常)*/
    @Excel(name = "判定结果(pass: 正常 ,fail:异常)", width = 15)
    @ApiModelProperty(value = "判定结果(pass: 正常 ,fail:异常)")
    private String judgmentResult;
    /**异常描述*/
    @Excel(name = "异常描述", width = 15)
    @ApiModelProperty(value = "异常描述")
    private String abnormalDesc;
    /**异常拍照*/
    @Excel(name = "异常拍照", width = 15)
    @ApiModelProperty(value = "异常拍照")
    private String abnormalPhoto;
    /**异常处置(数据字典:treatment_measure  ;1:自行处置   2: 故障上报 )*/
    @Excel(name = "异常处置(数据字典:treatment_measure  ;1:自行处置   2: 故障上报 )", width = 15)
    @ApiModelProperty(value = "异常处置(数据字典:treatment_measure  ;1:自行处置   2: 故障上报 )")
    private String treatmentMeasure;
    /**备用字段1*/
    @Excel(name = "备用字段1", width = 15)
    @ApiModelProperty(value = "备用字段1")
    private String inspectionOrderDetailUda1;
    /**备用字段2*/
    @Excel(name = "备用字段2", width = 15)
    @ApiModelProperty(value = "备用字段2")
    private String inspectionOrderDetailUda2;
    /**备用字段3*/
    @Excel(name = "备用字段3", width = 15)
    @ApiModelProperty(value = "备用字段3")
    private String inspectionOrderDetailUda3;
    /**备用字段4*/
    @Excel(name = "备用字段4", width = 15)
    @ApiModelProperty(value = "备用字段4")
    private String inspectionOrderDetailUda4;
    /**备用字段5*/
    @Excel(name = "备用字段5", width = 15)
    @ApiModelProperty(value = "备用字段5")
    private String inspectionOrderDetailUda5;
    /**备用字段6*/
    @Excel(name = "备用字段6", width = 15)
    @ApiModelProperty(value = "备用字段6")
    private String inspectionOrderDetailUda6;
 
    /**删除状态(0-正常,1-已删除)*/
    @Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
    @ApiModelProperty(value = "删除状态(0-正常,1-已删除)")
    private Integer delFlag = CommonConstant.DEL_FLAG_0;
 
    @ApiModelProperty(value = "最大值")
    @TableField(exist = false)
    private String maxValue;
 
    @ApiModelProperty(value = "最小值")
    @TableField(exist = false)
    private String minValue;
 
    @ApiModelProperty(value = "有无异常照片")
    @TableField(exist = false)
    private Boolean isNoPhotoFlag;
 
    @ApiModelProperty(value = "异常处置结果")
    @TableField(exist = false)
    private List<TreatmentMeasureVo> treatmentMeasures;
 
    /**
     * 工单明细用于  提交时收参
     */
    @TableField(exist = false)
    private List<InspectionOrderDetail> inspectionOrderDetails;
 
    @ApiModelProperty(value = "上传文件")
    @TableField(exist = false)
    private SysUpload upload;
 
    @ApiModelProperty(value = "示意图上传文件")
    @TableField(exist = false)
    private SysUpload sketchPhoto;
 
    @TableField(exist = false)
    private Boolean disabled;
}