提交 | 用户 | 时间
|
71e81e
|
1 |
package cn.stylefeng.guns.modular.sc.equipmentAlarmConf.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.FieldFill; |
|
8 |
import com.baomidou.mybatisplus.annotation.TableField; |
|
9 |
import java.io.Serializable; |
|
10 |
|
|
11 |
/** |
|
12 |
* <p> |
|
13 |
* 报警代码配置 |
|
14 |
* </p> |
|
15 |
* |
|
16 |
* @author cl |
|
17 |
* @since 2022-10-28 |
|
18 |
*/ |
|
19 |
@TableName("sc_equipment_alarm_conf") |
|
20 |
public class EquipmentAlarmConf implements Serializable { |
|
21 |
|
|
22 |
private static final long serialVersionUID=1L; |
|
23 |
|
|
24 |
/** |
|
25 |
* ID |
|
26 |
*/ |
|
27 |
@TableId(value = "id", type = IdType.ID_WORKER) |
|
28 |
private Long id; |
|
29 |
|
|
30 |
/** |
|
31 |
* 设备编号 |
|
32 |
*/ |
|
33 |
@TableField("equipment_no") |
|
34 |
private String equipmentNo; |
|
35 |
|
|
36 |
/** |
|
37 |
* 设备名称 |
|
38 |
*/ |
|
39 |
@TableField("equipment_name") |
|
40 |
private String equipmentName; |
|
41 |
|
|
42 |
/** |
|
43 |
* PLC代码 |
|
44 |
*/ |
|
45 |
@TableField("plc_code") |
|
46 |
private String plcCode; |
|
47 |
|
|
48 |
/** |
|
49 |
* 故障代码 |
|
50 |
*/ |
|
51 |
@TableField("error_no") |
|
52 |
private String errorNo; |
|
53 |
|
|
54 |
/** |
|
55 |
* 故障描述 |
|
56 |
*/ |
|
57 |
@TableField("error_desc") |
|
58 |
private String errorDesc; |
|
59 |
|
|
60 |
/** |
|
61 |
* 预留字段1 |
|
62 |
*/ |
|
63 |
@TableField("spare_field_1") |
|
64 |
private String spareField1; |
|
65 |
|
|
66 |
/** |
|
67 |
* 预留字段2 |
|
68 |
*/ |
|
69 |
@TableField("spare_field_2") |
|
70 |
private String spareField2; |
|
71 |
|
|
72 |
/** |
|
73 |
* 备注 |
|
74 |
*/ |
|
75 |
@TableField("remarks") |
|
76 |
private String remarks; |
|
77 |
|
|
78 |
/** |
|
79 |
* 创建用户 |
|
80 |
*/ |
|
81 |
@TableField(value = "create_user", fill = FieldFill.INSERT) |
|
82 |
private String createUser; |
|
83 |
|
|
84 |
/** |
|
85 |
* 创建时间 |
|
86 |
*/ |
|
87 |
@TableField(value = "create_time", fill = FieldFill.INSERT) |
|
88 |
private Date createTime; |
|
89 |
|
|
90 |
/** |
|
91 |
* 更改用户 |
|
92 |
*/ |
|
93 |
@TableField(value = "update_user", fill = FieldFill.UPDATE) |
|
94 |
private String updateUser; |
|
95 |
|
|
96 |
/** |
|
97 |
* 更改时间 |
|
98 |
*/ |
|
99 |
@TableField(value = "update_time", fill = FieldFill.UPDATE) |
|
100 |
private Date updateTime; |
|
101 |
|
|
102 |
|
|
103 |
public Long getId() { |
|
104 |
return id; |
|
105 |
} |
|
106 |
|
|
107 |
public void setId(Long id) { |
|
108 |
this.id = id; |
|
109 |
} |
|
110 |
|
|
111 |
public String getEquipmentNo() { |
|
112 |
return equipmentNo; |
|
113 |
} |
|
114 |
|
|
115 |
public void setEquipmentNo(String equipmentNo) { |
|
116 |
this.equipmentNo = equipmentNo; |
|
117 |
} |
|
118 |
|
|
119 |
public String getEquipmentName() { |
|
120 |
return equipmentName; |
|
121 |
} |
|
122 |
|
|
123 |
public void setEquipmentName(String equipmentName) { |
|
124 |
this.equipmentName = equipmentName; |
|
125 |
} |
|
126 |
|
|
127 |
public String getPlcCode() { |
|
128 |
return plcCode; |
|
129 |
} |
|
130 |
|
|
131 |
public void setPlcCode(String plcCode) { |
|
132 |
this.plcCode = plcCode; |
|
133 |
} |
|
134 |
|
|
135 |
public String getErrorNo() { |
|
136 |
return errorNo; |
|
137 |
} |
|
138 |
|
|
139 |
public void setErrorNo(String errorNo) { |
|
140 |
this.errorNo = errorNo; |
|
141 |
} |
|
142 |
|
|
143 |
public String getErrorDesc() { |
|
144 |
return errorDesc; |
|
145 |
} |
|
146 |
|
|
147 |
public void setErrorDesc(String errorDesc) { |
|
148 |
this.errorDesc = errorDesc; |
|
149 |
} |
|
150 |
|
|
151 |
public String getSpareField1() { |
|
152 |
return spareField1; |
|
153 |
} |
|
154 |
|
|
155 |
public void setSpareField1(String spareField1) { |
|
156 |
this.spareField1 = spareField1; |
|
157 |
} |
|
158 |
|
|
159 |
public String getSpareField2() { |
|
160 |
return spareField2; |
|
161 |
} |
|
162 |
|
|
163 |
public void setSpareField2(String spareField2) { |
|
164 |
this.spareField2 = spareField2; |
|
165 |
} |
|
166 |
|
|
167 |
public String getRemarks() { |
|
168 |
return remarks; |
|
169 |
} |
|
170 |
|
|
171 |
public void setRemarks(String remarks) { |
|
172 |
this.remarks = remarks; |
|
173 |
} |
|
174 |
|
|
175 |
public String getCreateUser() { |
|
176 |
return createUser; |
|
177 |
} |
|
178 |
|
|
179 |
public void setCreateUser(String createUser) { |
|
180 |
this.createUser = createUser; |
|
181 |
} |
|
182 |
|
|
183 |
public Date getCreateTime() { |
|
184 |
return createTime; |
|
185 |
} |
|
186 |
|
|
187 |
public void setCreateTime(Date createTime) { |
|
188 |
this.createTime = createTime; |
|
189 |
} |
|
190 |
|
|
191 |
public String getUpdateUser() { |
|
192 |
return updateUser; |
|
193 |
} |
|
194 |
|
|
195 |
public void setUpdateUser(String updateUser) { |
|
196 |
this.updateUser = updateUser; |
|
197 |
} |
|
198 |
|
|
199 |
public Date getUpdateTime() { |
|
200 |
return updateTime; |
|
201 |
} |
|
202 |
|
|
203 |
public void setUpdateTime(Date updateTime) { |
|
204 |
this.updateTime = updateTime; |
|
205 |
} |
|
206 |
|
|
207 |
@Override |
|
208 |
public String toString() { |
|
209 |
return "EquipmentAlarmConf{" + |
|
210 |
"id=" + id + |
|
211 |
", equipmentNo=" + equipmentNo + |
|
212 |
", equipmentName=" + equipmentName + |
|
213 |
", plcCode=" + plcCode + |
|
214 |
", errorNo=" + errorNo + |
|
215 |
", errorDesc=" + errorDesc + |
|
216 |
", spareField1=" + spareField1 + |
|
217 |
", spareField2=" + spareField2 + |
|
218 |
", remarks=" + remarks + |
|
219 |
", createUser=" + createUser + |
|
220 |
", createTime=" + createTime + |
|
221 |
", updateUser=" + updateUser + |
|
222 |
", updateTime=" + updateTime + |
|
223 |
"}"; |
|
224 |
} |
|
225 |
} |