提交 | 用户 | 时间
|
71e81e
|
1 |
package cn.stylefeng.guns.modular.em.equipmentAlarm.entity; |
懒 |
2 |
|
|
3 |
import com.baomidou.mybatisplus.annotation.TableName; |
|
4 |
import com.baomidou.mybatisplus.annotation.IdType; |
|
5 |
import java.util.Date; |
|
6 |
import com.baomidou.mybatisplus.annotation.TableId; |
|
7 |
import com.baomidou.mybatisplus.annotation.TableField; |
|
8 |
import java.io.Serializable; |
|
9 |
|
|
10 |
/** |
|
11 |
* <p> |
|
12 |
* 设备报警 |
|
13 |
* </p> |
|
14 |
* |
|
15 |
* @author cl |
|
16 |
* @since 2022-10-28 |
|
17 |
*/ |
|
18 |
@TableName("em_equipment_alarm") |
|
19 |
public class EquipmentAlarm implements Serializable { |
|
20 |
|
|
21 |
private static final long serialVersionUID=1L; |
|
22 |
|
|
23 |
/** |
|
24 |
* ID |
|
25 |
*/ |
|
26 |
@TableId(value = "id", type = IdType.AUTO) |
|
27 |
private Long id; |
|
28 |
|
|
29 |
/** |
|
30 |
* 设备编号 |
|
31 |
*/ |
|
32 |
@TableField("equipment_no") |
|
33 |
private String equipmentNo; |
|
34 |
|
|
35 |
/** |
|
36 |
* 设备名称 |
|
37 |
*/ |
|
38 |
@TableField("equipment_name") |
|
39 |
private String equipmentName; |
|
40 |
|
|
41 |
/** |
|
42 |
* 车间编号 |
|
43 |
*/ |
|
44 |
@TableField("workshop_code") |
|
45 |
private String workshopCode; |
|
46 |
|
|
47 |
/** |
|
48 |
* 产线编号 |
|
49 |
*/ |
|
50 |
@TableField("production_line_code") |
|
51 |
private String productionLineCode; |
|
52 |
|
|
53 |
/** |
|
54 |
* 工位编号 |
|
55 |
*/ |
|
56 |
@TableField("location_code") |
|
57 |
private String locationCode; |
|
58 |
|
|
59 |
/** |
|
60 |
* 故障代码 |
|
61 |
*/ |
|
62 |
@TableField("error_no") |
|
63 |
private String errorNo; |
|
64 |
|
|
65 |
/** |
|
66 |
* 故障描述 |
|
67 |
*/ |
|
68 |
@TableField("error_desc") |
|
69 |
private String errorDesc; |
|
70 |
|
|
71 |
/** |
|
72 |
* 报警时间 |
|
73 |
*/ |
|
74 |
@TableField("alarm_time") |
|
75 |
private Date alarmTime; |
|
76 |
|
|
77 |
/** |
|
78 |
* 是否恢复(0否1是) |
|
79 |
*/ |
|
80 |
@TableField("whether_recovery") |
|
81 |
private String whetherRecovery; |
|
82 |
|
|
83 |
/** |
|
84 |
* 恢复时间 |
|
85 |
*/ |
|
86 |
@TableField("recovery_time") |
|
87 |
private Date recoveryTime; |
|
88 |
|
|
89 |
/** |
|
90 |
* 预留字段1 |
|
91 |
*/ |
|
92 |
@TableField("spare_field_1") |
|
93 |
private String spareField1; |
|
94 |
|
|
95 |
/** |
|
96 |
* 预留字段2 |
|
97 |
*/ |
|
98 |
@TableField("spare_field_2") |
|
99 |
private String spareField2; |
|
100 |
|
|
101 |
/** |
|
102 |
* 备注 |
|
103 |
*/ |
|
104 |
@TableField("remarks") |
|
105 |
private String remarks; |
|
106 |
|
|
107 |
|
|
108 |
public Long getId() { |
|
109 |
return id; |
|
110 |
} |
|
111 |
|
|
112 |
public void setId(Long id) { |
|
113 |
this.id = id; |
|
114 |
} |
|
115 |
|
|
116 |
public String getEquipmentNo() { |
|
117 |
return equipmentNo; |
|
118 |
} |
|
119 |
|
|
120 |
public void setEquipmentNo(String equipmentNo) { |
|
121 |
this.equipmentNo = equipmentNo; |
|
122 |
} |
|
123 |
|
|
124 |
public String getEquipmentName() { |
|
125 |
return equipmentName; |
|
126 |
} |
|
127 |
|
|
128 |
public void setEquipmentName(String equipmentName) { |
|
129 |
this.equipmentName = equipmentName; |
|
130 |
} |
|
131 |
|
|
132 |
public String getWorkshopCode() { |
|
133 |
return workshopCode; |
|
134 |
} |
|
135 |
|
|
136 |
public void setWorkshopCode(String workshopCode) { |
|
137 |
this.workshopCode = workshopCode; |
|
138 |
} |
|
139 |
|
|
140 |
public String getProductionLineCode() { |
|
141 |
return productionLineCode; |
|
142 |
} |
|
143 |
|
|
144 |
public void setProductionLineCode(String productionLineCode) { |
|
145 |
this.productionLineCode = productionLineCode; |
|
146 |
} |
|
147 |
|
|
148 |
public String getLocationCode() { |
|
149 |
return locationCode; |
|
150 |
} |
|
151 |
|
|
152 |
public void setLocationCode(String locationCode) { |
|
153 |
this.locationCode = locationCode; |
|
154 |
} |
|
155 |
|
|
156 |
public String getErrorNo() { |
|
157 |
return errorNo; |
|
158 |
} |
|
159 |
|
|
160 |
public void setErrorNo(String errorNo) { |
|
161 |
this.errorNo = errorNo; |
|
162 |
} |
|
163 |
|
|
164 |
public String getErrorDesc() { |
|
165 |
return errorDesc; |
|
166 |
} |
|
167 |
|
|
168 |
public void setErrorDesc(String errorDesc) { |
|
169 |
this.errorDesc = errorDesc; |
|
170 |
} |
|
171 |
|
|
172 |
public Date getAlarmTime() { |
|
173 |
return alarmTime; |
|
174 |
} |
|
175 |
|
|
176 |
public void setAlarmTime(Date alarmTime) { |
|
177 |
this.alarmTime = alarmTime; |
|
178 |
} |
|
179 |
|
|
180 |
public String getWhetherRecovery() { |
|
181 |
return whetherRecovery; |
|
182 |
} |
|
183 |
|
|
184 |
public void setWhetherRecovery(String whetherRecovery) { |
|
185 |
this.whetherRecovery = whetherRecovery; |
|
186 |
} |
|
187 |
|
|
188 |
public Date getRecoveryTime() { |
|
189 |
return recoveryTime; |
|
190 |
} |
|
191 |
|
|
192 |
public void setRecoveryTime(Date recoveryTime) { |
|
193 |
this.recoveryTime = recoveryTime; |
|
194 |
} |
|
195 |
|
|
196 |
public String getSpareField1() { |
|
197 |
return spareField1; |
|
198 |
} |
|
199 |
|
|
200 |
public void setSpareField1(String spareField1) { |
|
201 |
this.spareField1 = spareField1; |
|
202 |
} |
|
203 |
|
|
204 |
public String getSpareField2() { |
|
205 |
return spareField2; |
|
206 |
} |
|
207 |
|
|
208 |
public void setSpareField2(String spareField2) { |
|
209 |
this.spareField2 = spareField2; |
|
210 |
} |
|
211 |
|
|
212 |
public String getRemarks() { |
|
213 |
return remarks; |
|
214 |
} |
|
215 |
|
|
216 |
public void setRemarks(String remarks) { |
|
217 |
this.remarks = remarks; |
|
218 |
} |
|
219 |
|
|
220 |
@Override |
|
221 |
public String toString() { |
|
222 |
return "EquipmentAlarm{" + |
|
223 |
"id=" + id + |
|
224 |
", equipmentNo=" + equipmentNo + |
|
225 |
", equipmentName=" + equipmentName + |
|
226 |
", workshopCode=" + workshopCode + |
|
227 |
", productionLineCode=" + productionLineCode + |
|
228 |
", locationCode=" + locationCode + |
|
229 |
", errorNo=" + errorNo + |
|
230 |
", errorDesc=" + errorDesc + |
|
231 |
", alarmTime=" + alarmTime + |
|
232 |
", whetherRecovery=" + whetherRecovery + |
|
233 |
", recoveryTime=" + recoveryTime + |
|
234 |
", spareField1=" + spareField1 + |
|
235 |
", spareField2=" + spareField2 + |
|
236 |
", remarks=" + remarks + |
|
237 |
"}"; |
|
238 |
} |
|
239 |
} |