zss
2025-02-19 30db5b326ae164d1256726191bd36a0d24f5f335
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
package com.yuanchu.mom.pojo;
 
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yuanchu.mom.annotation.ValueTableShow;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;
 
/**
 * 检验项目
 *
 * @TableName ins_product
 */
@TableName(value = "ins_product")
@Data
public class InsProduct implements Serializable {
    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
 
    @ValueTableShow(value = 1, name = "样品编号")
    @TableField(exist = false,select = false)
    private String sampleCode;
 
    /**
     * 检验项
     */
    @ValueTableShow(value = 2, name = "检验项")
    private String inspectionItem;
 
    private String inspectionItemEn;
 
    /**
     * 检验项分类
     */
    @ApiModelProperty(value = "检验项分类")
    private String inspectionItemClass;
 
    @ApiModelProperty(value = "检验项分类EN")
    private String inspectionItemClassEn;
 
    /**
     * 检验项子类
     */
    @ValueTableShow(value = 2, name = "检验项子类")
    private String inspectionItemSubclass;
 
    private String inspectionItemSubclassEn;
 
    /**
     * 工厂
     */
    private String factory;
 
    /**
     * 实验室
     */
    private String laboratory;
 
    /**
     * 样品分类
     */
    @ValueTableShow(value = 3, name = "样品分类")
    private String sampleType;
 
    /**
     * 样品
     */
    @ValueTableShow(value = 4, name = "样品")
    private String sample;
 
    /**
     * 型号
     */
    @ValueTableShow(value = 5, name = "型号")
    private String model;
 
    private String methodS;
 
    /**
     * 子实验室
     */
    @ValueTableShow(value = 6, name = "试验室")
    private String sonLaboratory;
 
    /**
     * 计量单位
     */
    private String unit;
 
    /**
     * 单价(元)
     */
    private BigDecimal price;
 
    /**
     * 工时(H)
     */
    private Double manHour;
 
    /**
     * 工时分组
     */
    private String manHourGroup;
 
    /**
     * 检验项类型
     */
    private String inspectionItemType;
 
    /**
     * 检验值类型
     */
    private String inspectionValueType;
 
    /**
     * 设备组
     */
    private String deviceGroup;
 
    /**
     * 检验次数
     */
    private Integer checkoutNumber;
 
    /**
     * 区间
     */
    private String section;
 
    /**
     * 取值类型
     */
    private String valueType;
 
    /**
     * 方法
     */
    private String method;
 
    /**
     * 预计时间(h)
     */
    private Integer manDay;
 
    /**
     * 特殊标识
     */
    private String bsm;
 
    /**
     * 要求值
     */
    @ValueTableShow(value = 7, name = "要求值")
    private String ask;
 
    /**
     * 要求描述
     */
    @ValueTableShow(value = 8, name = "要求描述")
    private String tell;
 
    /**
     * 最终值
     */
    @TableField("`last_value`")
    private String lastValue;
 
    /**
     * 1:合格 0:不合格 3:不判定
     */
    private Integer insResult;
 
    /**
     * 1:有效 0:无效
     */
    private Integer state;
 
    /**
     * 外键:ins_sample表id
     */
    private Integer insSampleId;
 
    @TableField(fill = FieldFill.INSERT)
    private Integer createUser;
 
    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
 
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updateUser;
 
    @ApiModelProperty("修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
 
    /**
     * 外键:standard_template表id
     */
    private Integer templateId;
 
    @TableField(exist = false)
    private List<JSONObject> template;
 
    @TableField(exist = false)
    private Map<String, Object> style;
 
    @TableField(exist = false)
    private InsProductResult insProductResult;
 
    @TableField(exist = false)
    private List<InsProductResult2> insProductResult2;
 
    @TableField(exist = false)
    private String templateName;
 
    private String dic;
    //温度
    private String temperature;
    //湿度
    private String humidity;
 
    private Integer standardMethodListId;
 
}