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