提交 | 用户 | 时间
|
71e81e
|
1 |
package cn.stylefeng.guns.modular.em.equipmentMaintainPlan.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 ruimin |
|
17 |
* @since 2023-02-20 |
|
18 |
*/ |
|
19 |
@TableName("em_equipment_maintain_plan") |
|
20 |
public class EquipmentMaintainPlan implements Serializable { |
|
21 |
|
|
22 |
private static final long serialVersionUID=1L; |
|
23 |
|
|
24 |
/** |
|
25 |
* 主键id |
|
26 |
*/ |
|
27 |
@TableId(value = "id", type = IdType.AUTO) |
|
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 |
* 计划编号 |
|
44 |
*/ |
|
45 |
@TableField("plan_no") |
|
46 |
private String planNo; |
|
47 |
|
|
48 |
/** |
|
49 |
* 计划名称 |
|
50 |
*/ |
|
51 |
@TableField("plan_name") |
|
52 |
private String planName; |
|
53 |
|
|
54 |
/** |
|
55 |
* 计划类型(单次计划、固定时间循环) |
|
56 |
*/ |
|
57 |
@TableField("plan_type") |
|
58 |
private String planType; |
|
59 |
|
|
60 |
/** |
|
61 |
* 保养类别(日常保养、一级保养、二级保养、三级保养) |
|
62 |
*/ |
|
63 |
@TableField("maintain_type") |
|
64 |
private String maintainType; |
|
65 |
|
|
66 |
/** |
|
67 |
* 间隔时间 |
|
68 |
*/ |
|
69 |
@TableField("interval_time") |
|
70 |
private String intervalTime; |
|
71 |
|
|
72 |
/** |
|
73 |
* 间隔单位 |
|
74 |
*/ |
|
75 |
@TableField("interval_unit") |
|
76 |
private String intervalUnit; |
|
77 |
|
|
78 |
/** |
|
79 |
* 状态(启用、禁用) |
|
80 |
*/ |
|
81 |
@TableField("state") |
|
82 |
private String state; |
|
83 |
|
|
84 |
/** |
|
85 |
* 预留字段1 |
|
86 |
*/ |
|
87 |
@TableField("spare_field_1") |
|
88 |
private String spareField1; |
|
89 |
|
|
90 |
/** |
|
91 |
* 预留字段2 |
|
92 |
*/ |
|
93 |
@TableField("spare_field_2") |
|
94 |
private String spareField2; |
|
95 |
|
|
96 |
/** |
|
97 |
* 备注 |
|
98 |
*/ |
|
99 |
@TableField("remarks") |
|
100 |
private String remarks; |
|
101 |
|
|
102 |
/** |
|
103 |
* 保养人 |
|
104 |
*/ |
|
105 |
@TableField("maintain_user") |
|
106 |
private String maintainUser; |
|
107 |
|
|
108 |
/** |
|
109 |
* 创建用户 |
|
110 |
*/ |
|
111 |
@TableField(value = "create_user", fill = FieldFill.INSERT) |
|
112 |
private String createUser; |
|
113 |
|
|
114 |
/** |
|
115 |
* 更改用户 |
|
116 |
*/ |
|
117 |
@TableField(value = "update_user", fill = FieldFill.UPDATE) |
|
118 |
private String updateUser; |
|
119 |
|
|
120 |
/** |
|
121 |
* 创建时间 |
|
122 |
*/ |
|
123 |
@TableField(value = "create_time", fill = FieldFill.INSERT) |
|
124 |
private Date createTime; |
|
125 |
|
|
126 |
/** |
|
127 |
* 更改时间 |
|
128 |
*/ |
|
129 |
@TableField(value = "update_time", fill = FieldFill.UPDATE) |
|
130 |
private Date updateTime; |
|
131 |
|
|
132 |
/** |
|
133 |
* 开始保养时间 |
|
134 |
*/ |
|
135 |
@TableField("start_time") |
|
136 |
private Date startTime; |
|
137 |
|
|
138 |
/** |
|
139 |
* 结束保养时间 |
|
140 |
*/ |
|
141 |
@TableField("end_time") |
|
142 |
private Date endTime; |
|
143 |
|
|
144 |
|
|
145 |
public Long getId() { |
|
146 |
return id; |
|
147 |
} |
|
148 |
|
|
149 |
public void setId(Long id) { |
|
150 |
this.id = id; |
|
151 |
} |
|
152 |
|
|
153 |
public String getEquipmentNo() { |
|
154 |
return equipmentNo; |
|
155 |
} |
|
156 |
|
|
157 |
public void setEquipmentNo(String equipmentNo) { |
|
158 |
this.equipmentNo = equipmentNo; |
|
159 |
} |
|
160 |
|
|
161 |
public String getEquipmentName() { |
|
162 |
return equipmentName; |
|
163 |
} |
|
164 |
|
|
165 |
public void setEquipmentName(String equipmentName) { |
|
166 |
this.equipmentName = equipmentName; |
|
167 |
} |
|
168 |
|
|
169 |
public String getPlanNo() { |
|
170 |
return planNo; |
|
171 |
} |
|
172 |
|
|
173 |
public void setPlanNo(String planNo) { |
|
174 |
this.planNo = planNo; |
|
175 |
} |
|
176 |
|
|
177 |
public String getPlanName() { |
|
178 |
return planName; |
|
179 |
} |
|
180 |
|
|
181 |
public String getMaintainUser() { |
|
182 |
return maintainUser; |
|
183 |
} |
|
184 |
|
|
185 |
public void setMaintainUser(String maintainUser) { |
|
186 |
this.maintainUser = maintainUser; |
|
187 |
} |
|
188 |
|
|
189 |
public void setPlanName(String planName) { |
|
190 |
this.planName = planName; |
|
191 |
} |
|
192 |
|
|
193 |
public String getPlanType() { |
|
194 |
return planType; |
|
195 |
} |
|
196 |
|
|
197 |
public void setPlanType(String planType) { |
|
198 |
this.planType = planType; |
|
199 |
} |
|
200 |
|
|
201 |
public String getMaintainType() { |
|
202 |
return maintainType; |
|
203 |
} |
|
204 |
|
|
205 |
public void setMaintainType(String maintainType) { |
|
206 |
this.maintainType = maintainType; |
|
207 |
} |
|
208 |
|
|
209 |
public String getIntervalTime() { |
|
210 |
return intervalTime; |
|
211 |
} |
|
212 |
|
|
213 |
public void setIntervalTime(String intervalTime) { |
|
214 |
this.intervalTime = intervalTime; |
|
215 |
} |
|
216 |
|
|
217 |
public String getIntervalUnit() { |
|
218 |
return intervalUnit; |
|
219 |
} |
|
220 |
|
|
221 |
public void setIntervalUnit(String intervalUnit) { |
|
222 |
this.intervalUnit = intervalUnit; |
|
223 |
} |
|
224 |
|
|
225 |
public String getState() { |
|
226 |
return state; |
|
227 |
} |
|
228 |
|
|
229 |
public void setState(String state) { |
|
230 |
this.state = state; |
|
231 |
} |
|
232 |
|
|
233 |
public String getSpareField1() { |
|
234 |
return spareField1; |
|
235 |
} |
|
236 |
|
|
237 |
public void setSpareField1(String spareField1) { |
|
238 |
this.spareField1 = spareField1; |
|
239 |
} |
|
240 |
|
|
241 |
public String getSpareField2() { |
|
242 |
return spareField2; |
|
243 |
} |
|
244 |
|
|
245 |
public void setSpareField2(String spareField2) { |
|
246 |
this.spareField2 = spareField2; |
|
247 |
} |
|
248 |
|
|
249 |
public String getRemarks() { |
|
250 |
return remarks; |
|
251 |
} |
|
252 |
|
|
253 |
public void setRemarks(String remarks) { |
|
254 |
this.remarks = remarks; |
|
255 |
} |
|
256 |
|
|
257 |
public String getCreateUser() { |
|
258 |
return createUser; |
|
259 |
} |
|
260 |
|
|
261 |
public void setCreateUser(String createUser) { |
|
262 |
this.createUser = createUser; |
|
263 |
} |
|
264 |
|
|
265 |
public String getUpdateUser() { |
|
266 |
return updateUser; |
|
267 |
} |
|
268 |
|
|
269 |
public void setUpdateUser(String updateUser) { |
|
270 |
this.updateUser = updateUser; |
|
271 |
} |
|
272 |
|
|
273 |
public Date getCreateTime() { |
|
274 |
return createTime; |
|
275 |
} |
|
276 |
|
|
277 |
public void setCreateTime(Date createTime) { |
|
278 |
this.createTime = createTime; |
|
279 |
} |
|
280 |
|
|
281 |
public Date getUpdateTime() { |
|
282 |
return updateTime; |
|
283 |
} |
|
284 |
|
|
285 |
public void setUpdateTime(Date updateTime) { |
|
286 |
this.updateTime = updateTime; |
|
287 |
} |
|
288 |
|
|
289 |
public Date getStartTime() { |
|
290 |
return startTime; |
|
291 |
} |
|
292 |
|
|
293 |
public void setStartTime(Date startTime) { |
|
294 |
this.startTime = startTime; |
|
295 |
} |
|
296 |
|
|
297 |
public Date getEndTime() { |
|
298 |
return endTime; |
|
299 |
} |
|
300 |
|
|
301 |
public void setEndTime(Date endTime) { |
|
302 |
this.endTime = endTime; |
|
303 |
} |
|
304 |
|
|
305 |
@Override |
|
306 |
public String toString() { |
|
307 |
return "EquipmentMaintainPlan{" + |
|
308 |
"id=" + id + |
|
309 |
", equipmentNo=" + equipmentNo + |
|
310 |
", equipmentName=" + equipmentName + |
|
311 |
", planNo=" + planNo + |
|
312 |
", planName=" + planName + |
|
313 |
", planType=" + planType + |
|
314 |
", maintainType=" + maintainType + |
|
315 |
", intervalTime=" + intervalTime + |
|
316 |
", intervalUnit=" + intervalUnit + |
|
317 |
", state=" + state + |
|
318 |
", spareField1=" + spareField1 + |
|
319 |
", spareField2=" + spareField2 + |
|
320 |
", remarks=" + remarks + |
|
321 |
", createUser=" + createUser + |
|
322 |
", updateUser=" + updateUser + |
|
323 |
", createTime=" + createTime + |
|
324 |
", updateTime=" + updateTime + |
|
325 |
", startTime=" + startTime + |
|
326 |
", endTime=" + endTime + |
|
327 |
"}"; |
|
328 |
} |
|
329 |
} |