提交 | 用户 | 时间
|
71e81e
|
1 |
package cn.stylefeng.guns.modular.em.equipmentStatus.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("em_equipment_status") |
|
20 |
public class EquipmentStatus 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("workshop_code") |
|
46 |
private String workshopCode; |
|
47 |
|
|
48 |
/** |
|
49 |
* 产线编号 |
|
50 |
*/ |
|
51 |
@TableField("production_line_code") |
|
52 |
private String productionLineCode; |
|
53 |
|
|
54 |
/** |
|
55 |
* 工位编号 |
|
56 |
*/ |
|
57 |
@TableField("location_code") |
|
58 |
private String locationCode; |
|
59 |
|
|
60 |
/** |
|
61 |
* 设备状态(1运转2待机3故障) |
|
62 |
*/ |
|
63 |
@TableField("status") |
|
64 |
private String status; |
|
65 |
|
|
66 |
/** |
|
67 |
* 预留字段1 |
|
68 |
*/ |
|
69 |
@TableField("spare_field_1") |
|
70 |
private String spareField1; |
|
71 |
|
|
72 |
/** |
|
73 |
* 预留字段2 |
|
74 |
*/ |
|
75 |
@TableField("spare_field_2") |
|
76 |
private String spareField2; |
|
77 |
|
|
78 |
/** |
|
79 |
* 备注 |
|
80 |
*/ |
|
81 |
@TableField("remarks") |
|
82 |
private String remarks; |
|
83 |
|
|
84 |
/** |
|
85 |
* 更新时间 |
|
86 |
*/ |
|
87 |
@TableField(value = "update_time", fill = FieldFill.UPDATE) |
|
88 |
private Date updateTime; |
|
89 |
|
|
90 |
|
|
91 |
public Long getId() { |
|
92 |
return id; |
|
93 |
} |
|
94 |
|
|
95 |
public void setId(Long id) { |
|
96 |
this.id = id; |
|
97 |
} |
|
98 |
|
|
99 |
public String getEquipmentNo() { |
|
100 |
return equipmentNo; |
|
101 |
} |
|
102 |
|
|
103 |
public void setEquipmentNo(String equipmentNo) { |
|
104 |
this.equipmentNo = equipmentNo; |
|
105 |
} |
|
106 |
|
|
107 |
public String getEquipmentName() { |
|
108 |
return equipmentName; |
|
109 |
} |
|
110 |
|
|
111 |
public void setEquipmentName(String equipmentName) { |
|
112 |
this.equipmentName = equipmentName; |
|
113 |
} |
|
114 |
|
|
115 |
public String getWorkshopCode() { |
|
116 |
return workshopCode; |
|
117 |
} |
|
118 |
|
|
119 |
public void setWorkshopCode(String workshopCode) { |
|
120 |
this.workshopCode = workshopCode; |
|
121 |
} |
|
122 |
|
|
123 |
public String getProductionLineCode() { |
|
124 |
return productionLineCode; |
|
125 |
} |
|
126 |
|
|
127 |
public void setProductionLineCode(String productionLineCode) { |
|
128 |
this.productionLineCode = productionLineCode; |
|
129 |
} |
|
130 |
|
|
131 |
public String getLocationCode() { |
|
132 |
return locationCode; |
|
133 |
} |
|
134 |
|
|
135 |
public void setLocationCode(String locationCode) { |
|
136 |
this.locationCode = locationCode; |
|
137 |
} |
|
138 |
|
|
139 |
public String getStatus() { |
|
140 |
return status; |
|
141 |
} |
|
142 |
|
|
143 |
public void setStatus(String status) { |
|
144 |
this.status = status; |
|
145 |
} |
|
146 |
|
|
147 |
public String getSpareField1() { |
|
148 |
return spareField1; |
|
149 |
} |
|
150 |
|
|
151 |
public void setSpareField1(String spareField1) { |
|
152 |
this.spareField1 = spareField1; |
|
153 |
} |
|
154 |
|
|
155 |
public String getSpareField2() { |
|
156 |
return spareField2; |
|
157 |
} |
|
158 |
|
|
159 |
public void setSpareField2(String spareField2) { |
|
160 |
this.spareField2 = spareField2; |
|
161 |
} |
|
162 |
|
|
163 |
public String getRemarks() { |
|
164 |
return remarks; |
|
165 |
} |
|
166 |
|
|
167 |
public void setRemarks(String remarks) { |
|
168 |
this.remarks = remarks; |
|
169 |
} |
|
170 |
|
|
171 |
public Date getUpdateTime() { |
|
172 |
return updateTime; |
|
173 |
} |
|
174 |
|
|
175 |
public void setUpdateTime(Date updateTime) { |
|
176 |
this.updateTime = updateTime; |
|
177 |
} |
|
178 |
|
|
179 |
@Override |
|
180 |
public String toString() { |
|
181 |
return "EquipmentStatus{" + |
|
182 |
"id=" + id + |
|
183 |
", equipmentNo=" + equipmentNo + |
|
184 |
", equipmentName=" + equipmentName + |
|
185 |
", workshopCode=" + workshopCode + |
|
186 |
", productionLineCode=" + productionLineCode + |
|
187 |
", locationCode=" + locationCode + |
|
188 |
", status=" + status + |
|
189 |
", spareField1=" + spareField1 + |
|
190 |
", spareField2=" + spareField2 + |
|
191 |
", remarks=" + remarks + |
|
192 |
", updateTime=" + updateTime + |
|
193 |
"}"; |
|
194 |
} |
|
195 |
} |