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