提交 | 用户 | 时间
|
fd2207
|
1 |
package com.jcdm.main.em.equipmentAlarm.domain; |
懒 |
2 |
|
|
3 |
import org.apache.commons.lang3.builder.ToStringBuilder; |
|
4 |
import org.apache.commons.lang3.builder.ToStringStyle; |
|
5 |
import com.jcdm.common.annotation.Excel; |
|
6 |
import com.jcdm.common.core.domain.BaseEntity; |
|
7 |
|
|
8 |
/** |
|
9 |
* 设备报警对象 em_equipment_alarm |
|
10 |
* |
|
11 |
* @author ruimin |
|
12 |
* @date 2023-12-15 |
|
13 |
*/ |
|
14 |
public class EmEquipmentAlarm extends BaseEntity |
|
15 |
{ |
|
16 |
private static final long serialVersionUID = 1L; |
|
17 |
|
|
18 |
/** ID */ |
|
19 |
private Long id; |
|
20 |
|
|
21 |
/** 设备编号 */ |
|
22 |
@Excel(name = "设备编号") |
|
23 |
private String equipmentCode; |
|
24 |
|
|
25 |
/** 设备名称 */ |
|
26 |
@Excel(name = "设备名称") |
|
27 |
private String equipmentName; |
|
28 |
|
|
29 |
/** 设备类型 */ |
|
30 |
@Excel(name = "设备类型") |
|
31 |
private String equipmentType; |
|
32 |
|
|
33 |
/** 车间编号 */ |
|
34 |
@Excel(name = "车间编号") |
|
35 |
private String workshopCode; |
|
36 |
|
|
37 |
/** 产线编号 */ |
|
38 |
@Excel(name = "产线编号") |
|
39 |
private String lineCode; |
|
40 |
|
|
41 |
/** 工序编号 */ |
|
42 |
@Excel(name = "工序编号") |
|
43 |
private String processesCode; |
|
44 |
|
|
45 |
/** 故障代码 */ |
|
46 |
@Excel(name = "故障代码") |
|
47 |
private String errorNo; |
|
48 |
|
|
49 |
/** 故障描述 */ |
|
50 |
@Excel(name = "故障描述") |
|
51 |
private String errorDesc; |
|
52 |
|
|
53 |
/** 报警时间 */ |
|
54 |
@Excel(name = "报警时间") |
|
55 |
private String alarmTime; |
|
56 |
|
|
57 |
/** 是否恢复(0否1是) */ |
|
58 |
@Excel(name = "是否恢复(0否1是)") |
|
59 |
private String whetherRecovery; |
|
60 |
|
|
61 |
/** 恢复时间 */ |
|
62 |
@Excel(name = "恢复时间") |
|
63 |
private String recoveryTime; |
|
64 |
|
|
65 |
/** 预留字段1 */ |
|
66 |
private String spareField1; |
|
67 |
|
|
68 |
/** 预留字段2 */ |
|
69 |
private String spareField2; |
|
70 |
|
|
71 |
/** 预留字段3 */ |
|
72 |
private String spareField3; |
|
73 |
|
|
74 |
/** 预留字段4 */ |
|
75 |
private String spareField4; |
|
76 |
|
|
77 |
/** 备注 */ |
|
78 |
@Excel(name = "备注") |
|
79 |
private String remarks; |
|
80 |
|
|
81 |
public void setId(Long id) |
|
82 |
{ |
|
83 |
this.id = id; |
|
84 |
} |
|
85 |
|
|
86 |
public Long getId() |
|
87 |
{ |
|
88 |
return id; |
|
89 |
} |
|
90 |
public void setEquipmentCode(String equipmentCode) |
|
91 |
{ |
|
92 |
this.equipmentCode = equipmentCode; |
|
93 |
} |
|
94 |
|
|
95 |
public String getEquipmentCode() |
|
96 |
{ |
|
97 |
return equipmentCode; |
|
98 |
} |
|
99 |
public void setEquipmentName(String equipmentName) |
|
100 |
{ |
|
101 |
this.equipmentName = equipmentName; |
|
102 |
} |
|
103 |
|
|
104 |
public String getEquipmentName() |
|
105 |
{ |
|
106 |
return equipmentName; |
|
107 |
} |
|
108 |
public void setEquipmentType(String equipmentType) |
|
109 |
{ |
|
110 |
this.equipmentType = equipmentType; |
|
111 |
} |
|
112 |
|
|
113 |
public String getEquipmentType() |
|
114 |
{ |
|
115 |
return equipmentType; |
|
116 |
} |
|
117 |
public void setWorkshopCode(String workshopCode) |
|
118 |
{ |
|
119 |
this.workshopCode = workshopCode; |
|
120 |
} |
|
121 |
|
|
122 |
public String getWorkshopCode() |
|
123 |
{ |
|
124 |
return workshopCode; |
|
125 |
} |
|
126 |
public void setLineCode(String lineCode) |
|
127 |
{ |
|
128 |
this.lineCode = lineCode; |
|
129 |
} |
|
130 |
|
|
131 |
public String getLineCode() |
|
132 |
{ |
|
133 |
return lineCode; |
|
134 |
} |
|
135 |
public void setProcessesCode(String processesCode) |
|
136 |
{ |
|
137 |
this.processesCode = processesCode; |
|
138 |
} |
|
139 |
|
|
140 |
public String getProcessesCode() |
|
141 |
{ |
|
142 |
return processesCode; |
|
143 |
} |
|
144 |
public void setErrorNo(String errorNo) |
|
145 |
{ |
|
146 |
this.errorNo = errorNo; |
|
147 |
} |
|
148 |
|
|
149 |
public String getErrorNo() |
|
150 |
{ |
|
151 |
return errorNo; |
|
152 |
} |
|
153 |
public void setErrorDesc(String errorDesc) |
|
154 |
{ |
|
155 |
this.errorDesc = errorDesc; |
|
156 |
} |
|
157 |
|
|
158 |
public String getErrorDesc() |
|
159 |
{ |
|
160 |
return errorDesc; |
|
161 |
} |
|
162 |
public void setAlarmTime(String alarmTime) |
|
163 |
{ |
|
164 |
this.alarmTime = alarmTime; |
|
165 |
} |
|
166 |
|
|
167 |
public String getAlarmTime() |
|
168 |
{ |
|
169 |
return alarmTime; |
|
170 |
} |
|
171 |
public void setWhetherRecovery(String whetherRecovery) |
|
172 |
{ |
|
173 |
this.whetherRecovery = whetherRecovery; |
|
174 |
} |
|
175 |
|
|
176 |
public String getWhetherRecovery() |
|
177 |
{ |
|
178 |
return whetherRecovery; |
|
179 |
} |
|
180 |
public void setRecoveryTime(String recoveryTime) |
|
181 |
{ |
|
182 |
this.recoveryTime = recoveryTime; |
|
183 |
} |
|
184 |
|
|
185 |
public String getRecoveryTime() |
|
186 |
{ |
|
187 |
return recoveryTime; |
|
188 |
} |
|
189 |
public void setSpareField1(String spareField1) |
|
190 |
{ |
|
191 |
this.spareField1 = spareField1; |
|
192 |
} |
|
193 |
|
|
194 |
public String getSpareField1() |
|
195 |
{ |
|
196 |
return spareField1; |
|
197 |
} |
|
198 |
public void setSpareField2(String spareField2) |
|
199 |
{ |
|
200 |
this.spareField2 = spareField2; |
|
201 |
} |
|
202 |
|
|
203 |
public String getSpareField2() |
|
204 |
{ |
|
205 |
return spareField2; |
|
206 |
} |
|
207 |
public void setSpareField3(String spareField3) |
|
208 |
{ |
|
209 |
this.spareField3 = spareField3; |
|
210 |
} |
|
211 |
|
|
212 |
public String getSpareField3() |
|
213 |
{ |
|
214 |
return spareField3; |
|
215 |
} |
|
216 |
public void setSpareField4(String spareField4) |
|
217 |
{ |
|
218 |
this.spareField4 = spareField4; |
|
219 |
} |
|
220 |
|
|
221 |
public String getSpareField4() |
|
222 |
{ |
|
223 |
return spareField4; |
|
224 |
} |
|
225 |
public void setRemarks(String remarks) |
|
226 |
{ |
|
227 |
this.remarks = remarks; |
|
228 |
} |
|
229 |
|
|
230 |
public String getRemarks() |
|
231 |
{ |
|
232 |
return remarks; |
|
233 |
} |
|
234 |
|
|
235 |
@Override |
|
236 |
public String toString() { |
|
237 |
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
|
238 |
.append("id", getId()) |
|
239 |
.append("equipmentCode", getEquipmentCode()) |
|
240 |
.append("equipmentName", getEquipmentName()) |
|
241 |
.append("equipmentType", getEquipmentType()) |
|
242 |
.append("workshopCode", getWorkshopCode()) |
|
243 |
.append("lineCode", getLineCode()) |
|
244 |
.append("processesCode", getProcessesCode()) |
|
245 |
.append("errorNo", getErrorNo()) |
|
246 |
.append("errorDesc", getErrorDesc()) |
|
247 |
.append("alarmTime", getAlarmTime()) |
|
248 |
.append("whetherRecovery", getWhetherRecovery()) |
|
249 |
.append("recoveryTime", getRecoveryTime()) |
|
250 |
.append("spareField1", getSpareField1()) |
|
251 |
.append("spareField2", getSpareField2()) |
|
252 |
.append("spareField3", getSpareField3()) |
|
253 |
.append("spareField4", getSpareField4()) |
|
254 |
.append("remarks", getRemarks()) |
|
255 |
.toString(); |
|
256 |
} |
|
257 |
} |