春风项目四线(合箱线、总装线)
cl
2024-02-02 129a317ff36d49fcc096cdd60d066594176e9e0e
提交 | 用户 | 时间
fd2207 1 package com.jcdm.main.da.passingStationCollection.domain;
2
3 import java.util.Date;
c6e069 4
c74dcb 5 import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
W 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;
c6e069 10 import com.baomidou.mybatisplus.annotation.TableField;
fd2207 11 import com.fasterxml.jackson.annotation.JsonFormat;
c6e069 12 import lombok.Data;
fd2207 13 import org.apache.commons.lang3.builder.ToStringBuilder;
14 import org.apache.commons.lang3.builder.ToStringStyle;
15 import com.jcdm.common.annotation.Excel;
16 import com.jcdm.common.core.domain.BaseEntity;
c74dcb 17 import org.springframework.format.annotation.DateTimeFormat;
fd2207 18
19 /**
20  * 产品过站采集对象 da_passing_station_collection
21  * 
22  * @author yyt
23  * @date 2023-12-12
24  */
c6e069 25 @Data
c74dcb 26 @ExcelIgnoreUnannotated
W 27 @ColumnWidth(16)
28 @HeadRowHeight(14)
29 @HeadFontStyle(fontHeightInPoints = 11)
fd2207 30 public class DaPassingStationCollection extends BaseEntity
31 {
32     private static final long serialVersionUID = 1L;
33
34     /** 主键id */
35     private Long id;
36
37     /** 工单编号 */
38     @Excel(name = "工单编号")
c74dcb 39     @ExcelProperty(value = "工单编号", index = 0)
fd2207 40     private String workOrderNo;
41
8aafc5 42     private String repairFlag;
W 43
fd2207 44     /** 总成序列号 */
c74dcb 45     @Excel(name = "箱体编码")
W 46     @ExcelProperty(value = "箱体编码", index = 1)
fd2207 47     private String sfcCode;
48
49     /** 产品编号 */
50     @Excel(name = "产品编号")
c74dcb 51     @ExcelProperty(value = "产品编号", index = 2)
fd2207 52     private String productCode;
53
54     /** 产线编号 */
55     @Excel(name = "产线编号")
c74dcb 56     @ExcelProperty(value = "产线编号", index = 3)
fd2207 57     private String productionLine;
58
59     /** 工位编号 */
60     @Excel(name = "工位编号")
c74dcb 61     @ExcelProperty(value = "工位编号", index = 4)
fd2207 62     private String locationCode;
63
64     /** 设备编号 */
65     @Excel(name = "设备编号")
66     private String equipmentNo;
67
68     /** 入站时间 */
629c9f 69 //    @JsonFormat(pattern = "yyyy-MM-dd")
H 70     @Excel(name = "入站时间")
c74dcb 71     @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
W 72     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
73     @ExcelProperty(value = "入站时间", index = 5)
fd2207 74     private Date inboundTime;
75
76     /** 出站时间 */
629c9f 77 //    @JsonFormat(pattern = "yyyy-MM-dd")
H 78     @Excel(name = "出站时间")
c74dcb 79     @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
W 80     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
81     @ExcelProperty(value = "出站时间", index = 6)
fd2207 82     private Date outboundTime;
83
020295 84     @TableField(exist = false)
W 85     private String startTime;
86
87     @TableField(exist = false)
88     private String endTime;
89
fd2207 90     /** 入站是否合格 */
91     @Excel(name = "入站是否合格")
92     private String inRsSign;
93
94     /** 入站NG原因 */
95     @Excel(name = "入站NG原因")
96     private String inMsgSign;
97
98     /** 出站是否合格 */
99     @Excel(name = "出站是否合格")
c74dcb 100     @ExcelProperty(value = "是否合格", index = 7)
fd2207 101     private String outRsSign;
102
103     /** 出站NG原因 */
104     @Excel(name = "出站NG原因")
c74dcb 105     @ExcelProperty(value = "NG原因", index = 8)
fd2207 106     private String outMsgSign;
107
108     /** 采集时间 */
629c9f 109 //    @JsonFormat(pattern = "yyyy-MM-dd")
H 110     @Excel(name = "采集时间")
c74dcb 111     @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
W 112     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
113     @ExcelProperty(value = "采集时间", index = 9)
fd2207 114     private Date collectionTime;
115
116     /** 预留字段1 */
117     private String spareField1;
118
119     /** 预留字段2 */
120     private String spareField2;
121
122     /** 创建用户 */
123     private String createUser;
124
125     /** 更改用户 */
126     private String updateUser;
127
128     /** 节拍时间 */
129     @Excel(name = "节拍时间")
c74dcb 130     @ExcelProperty(value = "节拍时间", index = 10)
fd2207 131     private String beatTime;
132
c6e069 133     @TableField(exist = false)
W 134     private Long beatTimeLong;
135
ff985a 136     private Long[] ids;
137
138     public Long[] getIds() {
139         return ids;
140     }
141
142     public void setIds(Long[] ids) {
143         this.ids = ids;
144     }
145
146     public void setId(Long id)
fd2207 147     {
148         this.id = id;
149     }
150
151     public Long getId() 
152     {
153         return id;
154     }
155     public void setWorkOrderNo(String workOrderNo) 
156     {
157         this.workOrderNo = workOrderNo;
158     }
159
160     public String getWorkOrderNo() 
161     {
162         return workOrderNo;
163     }
164     public void setSfcCode(String sfcCode) 
165     {
166         this.sfcCode = sfcCode;
167     }
168
169     public String getSfcCode() 
170     {
171         return sfcCode;
172     }
173     public void setProductCode(String productCode) 
174     {
175         this.productCode = productCode;
176     }
177
178     public String getProductCode() 
179     {
180         return productCode;
181     }
182     public void setProductionLine(String productionLine) 
183     {
184         this.productionLine = productionLine;
185     }
186
187     public String getProductionLine() 
188     {
189         return productionLine;
190     }
191     public void setLocationCode(String locationCode) 
192     {
193         this.locationCode = locationCode;
194     }
195
196     public String getLocationCode() 
197     {
198         return locationCode;
199     }
200     public void setEquipmentNo(String equipmentNo) 
201     {
202         this.equipmentNo = equipmentNo;
203     }
204
205     public String getEquipmentNo() 
206     {
207         return equipmentNo;
208     }
209     public void setInboundTime(Date inboundTime) 
210     {
211         this.inboundTime = inboundTime;
212     }
213
214     public Date getInboundTime() 
215     {
216         return inboundTime;
217     }
218     public void setOutboundTime(Date outboundTime) 
219     {
220         this.outboundTime = outboundTime;
221     }
222
223     public Date getOutboundTime() 
224     {
225         return outboundTime;
226     }
227     public void setInRsSign(String inRsSign) 
228     {
229         this.inRsSign = inRsSign;
230     }
231
232     public String getInRsSign() 
233     {
234         return inRsSign;
235     }
236     public void setInMsgSign(String inMsgSign) 
237     {
238         this.inMsgSign = inMsgSign;
239     }
240
241     public String getInMsgSign() 
242     {
243         return inMsgSign;
244     }
245     public void setOutRsSign(String outRsSign) 
246     {
247         this.outRsSign = outRsSign;
248     }
249
250     public String getOutRsSign() 
251     {
252         return outRsSign;
253     }
254     public void setOutMsgSign(String outMsgSign) 
255     {
256         this.outMsgSign = outMsgSign;
257     }
258
259     public String getOutMsgSign() 
260     {
261         return outMsgSign;
262     }
263     public void setCollectionTime(Date collectionTime) 
264     {
265         this.collectionTime = collectionTime;
266     }
267
268     public Date getCollectionTime() 
269     {
270         return collectionTime;
271     }
272     public void setSpareField1(String spareField1) 
273     {
274         this.spareField1 = spareField1;
275     }
276
277     public String getSpareField1() 
278     {
279         return spareField1;
280     }
281     public void setSpareField2(String spareField2) 
282     {
283         this.spareField2 = spareField2;
284     }
285
286     public String getSpareField2() 
287     {
288         return spareField2;
289     }
290     public void setCreateUser(String createUser) 
291     {
292         this.createUser = createUser;
293     }
294
295     public String getCreateUser() 
296     {
297         return createUser;
298     }
299     public void setUpdateUser(String updateUser) 
300     {
301         this.updateUser = updateUser;
302     }
303
304     public String getUpdateUser() 
305     {
306         return updateUser;
307     }
308     public void setBeatTime(String beatTime) 
309     {
310         this.beatTime = beatTime;
311     }
312
313     public String getBeatTime() 
314     {
315         return beatTime;
316     }
317
318     @Override
319     public String toString() {
320         return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
321             .append("id", getId())
322             .append("workOrderNo", getWorkOrderNo())
323             .append("sfcCode", getSfcCode())
324             .append("productCode", getProductCode())
325             .append("productionLine", getProductionLine())
326             .append("locationCode", getLocationCode())
327             .append("equipmentNo", getEquipmentNo())
328             .append("inboundTime", getInboundTime())
329             .append("outboundTime", getOutboundTime())
330             .append("inRsSign", getInRsSign())
331             .append("inMsgSign", getInMsgSign())
332             .append("outRsSign", getOutRsSign())
333             .append("outMsgSign", getOutMsgSign())
334             .append("collectionTime", getCollectionTime())
335             .append("spareField1", getSpareField1())
336             .append("spareField2", getSpareField2())
337             .append("createUser", getCreateUser())
338             .append("createTime", getCreateTime())
339             .append("updateUser", getUpdateUser())
340             .append("updateTime", getUpdateTime())
341             .append("beatTime", getBeatTime())
342             .toString();
343     }
344 }