春风项目四线(合箱线、总装线)
hdy
2024-01-31 11cf273c59ae476e8be9ce80fc93c6c2722f7bce
提交 | 用户 | 时间
fd2207 1 package com.jcdm.main.da.paramCollection.domain;
2
3 import java.util.Date;
c74dcb 4
W 5 import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
6 import com.alibaba.excel.annotation.ExcelProperty;
7 import com.alibaba.excel.annotation.write.style.ColumnWidth;
8 import com.alibaba.excel.annotation.write.style.HeadFontStyle;
9 import com.alibaba.excel.annotation.write.style.HeadRowHeight;
fd2207 10 import com.fasterxml.jackson.annotation.JsonFormat;
c74dcb 11 import lombok.Data;
fd2207 12 import org.apache.commons.lang3.builder.ToStringBuilder;
13 import org.apache.commons.lang3.builder.ToStringStyle;
14 import com.jcdm.common.annotation.Excel;
15 import com.jcdm.common.core.domain.BaseEntity;
c74dcb 16 import org.springframework.format.annotation.DateTimeFormat;
fd2207 17
18 /**
19  * 设备产品过程参数采集对象 da_param_collection
20  * 
21  * @author yyt
22  * @date 2023-12-13
23  */
c74dcb 24 @Data
W 25 @ExcelIgnoreUnannotated
26 @ColumnWidth(16)
27 @HeadRowHeight(14)
28 @HeadFontStyle(fontHeightInPoints = 11)
fd2207 29 public class DaParamCollection extends BaseEntity
30 {
31     private static final long serialVersionUID = 1L;
32
33     /** 主键id */
34     private Long id;
35
36     /** 工单编号 */
37     @Excel(name = "工单编号")
38     private String workOrderNo;
39
40     /** 总成序列号 */
c74dcb 41     @Excel(name = "箱体编码")
W 42     @ExcelProperty(value = "箱体编码", index = 0)
fd2207 43     private String sfcCode;
44
45     /** 产品编号 */
46     @Excel(name = "产品编号")
47     private String productCode;
48
49     /** 产线编号 */
50     @Excel(name = "产线编号")
51     private String productionLine;
52
53     /** 工位编号 */
54     @Excel(name = "工位编号")
c74dcb 55     @ExcelProperty(value = "工位", index = 1)
fd2207 56     private String locationCode;
57
58     /** 设备编号 */
59     @Excel(name = "设备编号")
60     private String equipmentNo;
61
62     /** 参数编码 */
63     @Excel(name = "参数编码")
64     private String paramCode;
65
66     /** 参数值 */
67     @Excel(name = "参数值")
c74dcb 68     @ExcelProperty(value = "参数值", index = 3)
fd2207 69     private String paramValue;
70
71     /** 参数上限 */
72     @Excel(name = "参数上限")
73     private String paramUpper;
74
75     /** 参数下限 */
76     @Excel(name = "参数下限")
77     private String paramLower;
78
79     /** 标准值 */
80     @Excel(name = "标准值")
81     private String paramStandard;
82
83     /** 采集时间 */
629c9f 84     @Excel(name = "采集时间")
c74dcb 85     @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
W 86     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
87     @ExcelProperty(value = "采集时间", index = 5)
fd2207 88     private Date collectionTime;
89
90     /** 预留字段1 */
91     private String spareField1;
92
93     /** 预留字段2 */
94     private String spareField2;
95
96     /** 创建用户 */
97     private String createUser;
98
99     /** 更改用户 */
100     private String updateUser;
101
102     /** 状态(1合格、2不合格) */
103     @Excel(name = "状态", readConverterExp = "1=合格、2不合格")
104     private String state;
105
106     /** 参数名称 */
107     @Excel(name = "参数名称")
c74dcb 108     @ExcelProperty(value = "参数名称", index = 2)
fd2207 109     private String paramName;
110
111     /** 单位 */
112     @Excel(name = "单位")
c74dcb 113     @ExcelProperty(value = "单位", index = 4)
fd2207 114     private String unit;
115
116     /** 类型 */
117     @Excel(name = "类型")
118     private String type;
119
8ae9df 120     private String[] dateConditions;
H 121
122     private String startTime;
123
124     private String endTime;
125
126     public String[] getDateConditions() {
127         return dateConditions;
128     }
129
130     public void setDateConditions(String[] dateConditions) {
131         this.dateConditions = dateConditions;
132     }
133
134     public String getStartTime() {return startTime;}
135
136     public void setStartTime(String startTime) {
137         this.startTime = startTime;
138     }
139
140     public String getEndTime() {
141         return endTime;
142     }
143
144     public void setEndTime(String endTime) {
145         this.endTime = endTime;
146     }
fd2207 147     public void setId(Long id) 
148     {
149         this.id = id;
150     }
151
152     public Long getId() 
153     {
154         return id;
155     }
156     public void setWorkOrderNo(String workOrderNo) 
157     {
158         this.workOrderNo = workOrderNo;
159     }
160
161     public String getWorkOrderNo() 
162     {
163         return workOrderNo;
164     }
165     public void setSfcCode(String sfcCode) 
166     {
167         this.sfcCode = sfcCode;
168     }
169
170     public String getSfcCode() 
171     {
172         return sfcCode;
173     }
174     public void setProductCode(String productCode) 
175     {
176         this.productCode = productCode;
177     }
178
179     public String getProductCode() 
180     {
181         return productCode;
182     }
183     public void setProductionLine(String productionLine) 
184     {
185         this.productionLine = productionLine;
186     }
187
188     public String getProductionLine() 
189     {
190         return productionLine;
191     }
192     public void setLocationCode(String locationCode) 
193     {
194         this.locationCode = locationCode;
195     }
196
197     public String getLocationCode() 
198     {
199         return locationCode;
200     }
201     public void setEquipmentNo(String equipmentNo) 
202     {
203         this.equipmentNo = equipmentNo;
204     }
205
206     public String getEquipmentNo() 
207     {
208         return equipmentNo;
209     }
210     public void setParamCode(String paramCode) 
211     {
212         this.paramCode = paramCode;
213     }
214
215     public String getParamCode() 
216     {
217         return paramCode;
218     }
219     public void setParamValue(String paramValue) 
220     {
221         this.paramValue = paramValue;
222     }
223
224     public String getParamValue() 
225     {
226         return paramValue;
227     }
228     public void setParamUpper(String paramUpper) 
229     {
230         this.paramUpper = paramUpper;
231     }
232
233     public String getParamUpper() 
234     {
235         return paramUpper;
236     }
237     public void setParamLower(String paramLower) 
238     {
239         this.paramLower = paramLower;
240     }
241
242     public String getParamLower() 
243     {
244         return paramLower;
245     }
246     public void setParamStandard(String paramStandard) 
247     {
248         this.paramStandard = paramStandard;
249     }
250
251     public String getParamStandard() 
252     {
253         return paramStandard;
254     }
255     public void setCollectionTime(Date collectionTime) 
256     {
257         this.collectionTime = collectionTime;
258     }
259
260     public Date getCollectionTime() 
261     {
262         return collectionTime;
263     }
264     public void setSpareField1(String spareField1) 
265     {
266         this.spareField1 = spareField1;
267     }
268
269     public String getSpareField1() 
270     {
271         return spareField1;
272     }
273     public void setSpareField2(String spareField2) 
274     {
275         this.spareField2 = spareField2;
276     }
277
278     public String getSpareField2() 
279     {
280         return spareField2;
281     }
282     public void setCreateUser(String createUser) 
283     {
284         this.createUser = createUser;
285     }
286
287     public String getCreateUser() 
288     {
289         return createUser;
290     }
291     public void setUpdateUser(String updateUser) 
292     {
293         this.updateUser = updateUser;
294     }
295
296     public String getUpdateUser() 
297     {
298         return updateUser;
299     }
300     public void setState(String state) 
301     {
302         this.state = state;
303     }
304
305     public String getState() 
306     {
307         return state;
308     }
309     public void setParamName(String paramName) 
310     {
311         this.paramName = paramName;
312     }
313
314     public String getParamName() 
315     {
316         return paramName;
317     }
318     public void setUnit(String unit) 
319     {
320         this.unit = unit;
321     }
322
323     public String getUnit() 
324     {
325         return unit;
326     }
327     public void setType(String type) 
328     {
329         this.type = type;
330     }
331
332     public String getType() 
333     {
334         return type;
335     }
336
337     @Override
338     public String toString() {
339         return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
340             .append("id", getId())
341             .append("workOrderNo", getWorkOrderNo())
342             .append("sfcCode", getSfcCode())
343             .append("productCode", getProductCode())
344             .append("productionLine", getProductionLine())
345             .append("locationCode", getLocationCode())
346             .append("equipmentNo", getEquipmentNo())
347             .append("paramCode", getParamCode())
348             .append("paramValue", getParamValue())
349             .append("paramUpper", getParamUpper())
350             .append("paramLower", getParamLower())
351             .append("paramStandard", getParamStandard())
352             .append("collectionTime", getCollectionTime())
353             .append("spareField1", getSpareField1())
354             .append("spareField2", getSpareField2())
355             .append("createUser", getCreateUser())
356             .append("createTime", getCreateTime())
357             .append("updateUser", getUpdateUser())
358             .append("updateTime", getUpdateTime())
359             .append("state", getState())
360             .append("paramName", getParamName())
361             .append("unit", getUnit())
362             .append("type", getType())
363             .toString();
364     }
365 }