提交 | 用户 | 时间
|
0cceb6
|
1 |
package com.jcdm.main.rm.repairRecord.domain; |
Y |
2 |
|
|
3 |
import com.alibaba.excel.annotation.ExcelIgnore; |
|
4 |
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated; |
|
5 |
import com.alibaba.excel.annotation.ExcelProperty; |
|
6 |
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
|
7 |
import com.alibaba.excel.annotation.write.style.HeadFontStyle; |
|
8 |
import com.alibaba.excel.annotation.write.style.HeadRowHeight; |
|
9 |
import com.baomidou.mybatisplus.annotation.TableField; |
|
10 |
import lombok.Data; |
|
11 |
import org.apache.commons.lang3.builder.ToStringBuilder; |
|
12 |
import org.apache.commons.lang3.builder.ToStringStyle; |
|
13 |
import com.jcdm.common.annotation.Excel; |
|
14 |
import com.jcdm.common.core.domain.BaseEntity; |
|
15 |
|
|
16 |
import java.util.List; |
|
17 |
|
|
18 |
/** |
|
19 |
* 返修记录对象 rm_repair_record |
|
20 |
* |
|
21 |
* @author Yi |
|
22 |
* @date 2023-12-22 |
|
23 |
*/ |
|
24 |
@Data |
|
25 |
@ExcelIgnoreUnannotated |
|
26 |
@ColumnWidth(16) |
|
27 |
@HeadRowHeight(14) |
|
28 |
@HeadFontStyle(fontHeightInPoints = 11) |
|
29 |
public class RmRepairRecord 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 snCode; |
|
39 |
|
|
40 |
/** 返修标识 */ |
|
41 |
@Excel(name = "返修标识") |
|
42 |
@ExcelProperty(value = "返修标识", index = 0) |
|
43 |
private String repairIdentification; |
|
44 |
|
|
45 |
/** 箱体编码 */ |
|
46 |
@Excel(name = "箱体编码") |
|
47 |
@ExcelProperty(value = "箱体编码", index = 1) |
|
48 |
private String boxCode; |
|
49 |
|
|
50 |
@TableField(exist = false) |
|
51 |
@ExcelIgnore |
|
52 |
private List<String> engineNoList; |
|
53 |
|
|
54 |
@TableField(exist = false) |
|
55 |
@ExcelIgnore |
|
56 |
private List<String> engineNoListExcel; |
|
57 |
|
|
58 |
/** 工序编码 */ |
|
59 |
@Excel(name = "工序编码") |
|
60 |
@ExcelProperty(value = "工序编码", index = 2) |
|
61 |
private String processesCode; |
|
62 |
|
|
63 |
/** 原结果 */ |
|
64 |
@Excel(name = "原结果") |
|
65 |
@ExcelProperty(value = "原结果", index = 3) |
|
66 |
private String originalResult; |
|
67 |
|
|
68 |
/** 创建用户 */ |
|
69 |
@Excel(name = "创建用户") |
|
70 |
@ExcelProperty(value = "创建用户", index = 5) |
|
71 |
private String createUser; |
|
72 |
|
|
73 |
/** 更新用户 */ |
|
74 |
@Excel(name = "更新用户") |
|
75 |
private String updateUser; |
|
76 |
|
|
77 |
/** 返修结果 */ |
|
78 |
@Excel(name = "返修结果") |
|
79 |
@ExcelProperty(value = "返修结果", index = 4) |
|
80 |
private String repairResults; |
|
81 |
|
|
82 |
/** 状态 */ |
|
83 |
@Excel(name = "状态") |
|
84 |
private String status; |
|
85 |
|
|
86 |
/** 备注 */ |
|
87 |
@Excel(name = "备注") |
|
88 |
private String remarks; |
|
89 |
|
|
90 |
/** 预留字段1 */ |
|
91 |
@Excel(name = "预留字段1") |
|
92 |
private String spareField1; |
|
93 |
|
|
94 |
/** 预留字段2 */ |
|
95 |
@Excel(name = "预留字段2") |
|
96 |
private String spareField2; |
|
97 |
|
|
98 |
public void setId(Long id) |
|
99 |
{ |
|
100 |
this.id = id; |
|
101 |
} |
|
102 |
|
|
103 |
public Long getId() |
|
104 |
{ |
|
105 |
return id; |
|
106 |
} |
|
107 |
public void setSnCode(String snCode) |
|
108 |
{ |
|
109 |
this.snCode = snCode; |
|
110 |
} |
|
111 |
|
|
112 |
public String getSnCode() |
|
113 |
{ |
|
114 |
return snCode; |
|
115 |
} |
|
116 |
public void setRepairIdentification(String repairIdentification) |
|
117 |
{ |
|
118 |
this.repairIdentification = repairIdentification; |
|
119 |
} |
|
120 |
|
|
121 |
public String getRepairIdentification() |
|
122 |
{ |
|
123 |
return repairIdentification; |
|
124 |
} |
|
125 |
public void setBoxCode(String boxCode) |
|
126 |
{ |
|
127 |
this.boxCode = boxCode; |
|
128 |
} |
|
129 |
|
|
130 |
public String getBoxCode() |
|
131 |
{ |
|
132 |
return boxCode; |
|
133 |
} |
|
134 |
public void setProcessesCode(String processesCode) |
|
135 |
{ |
|
136 |
this.processesCode = processesCode; |
|
137 |
} |
|
138 |
|
|
139 |
public String getProcessesCode() |
|
140 |
{ |
|
141 |
return processesCode; |
|
142 |
} |
|
143 |
public void setOriginalResult(String originalResult) |
|
144 |
{ |
|
145 |
this.originalResult = originalResult; |
|
146 |
} |
|
147 |
|
|
148 |
public String getOriginalResult() |
|
149 |
{ |
|
150 |
return originalResult; |
|
151 |
} |
|
152 |
public void setCreateUser(String createUser) |
|
153 |
{ |
|
154 |
this.createUser = createUser; |
|
155 |
} |
|
156 |
|
|
157 |
public String getCreateUser() |
|
158 |
{ |
|
159 |
return createUser; |
|
160 |
} |
|
161 |
public void setUpdateUser(String updateUser) |
|
162 |
{ |
|
163 |
this.updateUser = updateUser; |
|
164 |
} |
|
165 |
|
|
166 |
public String getUpdateUser() |
|
167 |
{ |
|
168 |
return updateUser; |
|
169 |
} |
|
170 |
public void setRepairResults(String repairResults) |
|
171 |
{ |
|
172 |
this.repairResults = repairResults; |
|
173 |
} |
|
174 |
|
|
175 |
public String getRepairResults() |
|
176 |
{ |
|
177 |
return repairResults; |
|
178 |
} |
|
179 |
public void setStatus(String status) |
|
180 |
{ |
|
181 |
this.status = status; |
|
182 |
} |
|
183 |
|
|
184 |
public String getStatus() |
|
185 |
{ |
|
186 |
return status; |
|
187 |
} |
|
188 |
public void setRemarks(String remarks) |
|
189 |
{ |
|
190 |
this.remarks = remarks; |
|
191 |
} |
|
192 |
|
|
193 |
public String getRemarks() |
|
194 |
{ |
|
195 |
return remarks; |
|
196 |
} |
|
197 |
public void setSpareField1(String spareField1) |
|
198 |
{ |
|
199 |
this.spareField1 = spareField1; |
|
200 |
} |
|
201 |
|
|
202 |
public String getSpareField1() |
|
203 |
{ |
|
204 |
return spareField1; |
|
205 |
} |
|
206 |
public void setSpareField2(String spareField2) |
|
207 |
{ |
|
208 |
this.spareField2 = spareField2; |
|
209 |
} |
|
210 |
|
|
211 |
public String getSpareField2() |
|
212 |
{ |
|
213 |
return spareField2; |
|
214 |
} |
|
215 |
|
|
216 |
@Override |
|
217 |
public String toString() { |
|
218 |
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
|
219 |
.append("id", getId()) |
|
220 |
.append("snCode", getSnCode()) |
|
221 |
.append("repairIdentification", getRepairIdentification()) |
|
222 |
.append("boxCode", getBoxCode()) |
|
223 |
.append("processesCode", getProcessesCode()) |
|
224 |
.append("originalResult", getOriginalResult()) |
|
225 |
.append("createUser", getCreateUser()) |
|
226 |
.append("createTime", getCreateTime()) |
|
227 |
.append("updateTime", getUpdateTime()) |
|
228 |
.append("updateUser", getUpdateUser()) |
|
229 |
.append("repairResults", getRepairResults()) |
|
230 |
.append("status", getStatus()) |
|
231 |
.append("remarks", getRemarks()) |
|
232 |
.append("spareField1", getSpareField1()) |
|
233 |
.append("spareField2", getSpareField2()) |
|
234 |
.toString(); |
|
235 |
} |
|
236 |
} |