提交 | 用户 | 时间
|
71e81e
|
1 |
package cn.stylefeng.guns.modular.bs.materialInfo.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 zrm |
|
17 |
* @since 2023-02-15 |
|
18 |
*/ |
|
19 |
@TableName("bs_material_info") |
|
20 |
public class MaterialInfo 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("material_code") |
|
34 |
private String materialCode; |
|
35 |
|
|
36 |
/** |
|
37 |
* 物料名称 |
|
38 |
*/ |
|
39 |
@TableField("material_name") |
|
40 |
private String materialName; |
|
41 |
|
|
42 |
/** |
|
43 |
* 图号 |
|
44 |
*/ |
|
45 |
@TableField("drawing_no") |
|
46 |
private String drawingNo; |
|
47 |
|
|
48 |
/** |
|
49 |
* 规格 |
|
50 |
*/ |
|
51 |
@TableField("material_specs") |
|
52 |
private String materialSpecs; |
|
53 |
|
|
54 |
/** |
|
55 |
* 单位 |
|
56 |
*/ |
|
57 |
@TableField("unit") |
|
58 |
private String unit; |
|
59 |
|
|
60 |
/** |
|
61 |
* 材料 |
|
62 |
*/ |
|
63 |
@TableField("material_science") |
|
64 |
private String materialScience; |
|
65 |
|
|
66 |
@TableField("material_type") |
|
67 |
private String materialType; |
|
68 |
|
|
69 |
/** |
|
70 |
* 属性 |
|
71 |
*/ |
|
72 |
@TableField("material_attribute") |
|
73 |
private String materialAttribute; |
|
74 |
|
|
75 |
/** |
|
76 |
* 是否采购件 |
|
77 |
*/ |
|
78 |
@TableField("is_purchase") |
|
79 |
private String isPurchase; |
|
80 |
|
|
81 |
/** |
|
82 |
* 供应商 |
|
83 |
*/ |
|
84 |
@TableField("supplier") |
|
85 |
private String supplier; |
|
86 |
|
|
87 |
/** |
|
88 |
* 预留字段1 |
|
89 |
*/ |
|
90 |
@TableField("spare_field_1") |
|
91 |
private String spareField1; |
|
92 |
|
|
93 |
/** |
|
94 |
* 预留字段2 |
|
95 |
*/ |
|
96 |
@TableField("spare_field_2") |
|
97 |
private String spareField2; |
|
98 |
|
|
99 |
/** |
|
100 |
* 备注 |
|
101 |
*/ |
|
102 |
@TableField("remarks") |
|
103 |
private String remarks; |
|
104 |
|
|
105 |
/** |
|
106 |
* 创建用户 |
|
107 |
*/ |
|
108 |
@TableField(value = "create_user", fill = FieldFill.INSERT) |
|
109 |
private String createUser; |
|
110 |
|
|
111 |
/** |
|
112 |
* 创建时间 |
|
113 |
*/ |
|
114 |
@TableField(value = "create_time", fill = FieldFill.INSERT) |
|
115 |
private Date createTime; |
|
116 |
|
|
117 |
/** |
|
118 |
* 更改用户 |
|
119 |
*/ |
|
120 |
@TableField(value = "update_user", fill = FieldFill.UPDATE) |
|
121 |
private String updateUser; |
|
122 |
|
|
123 |
/** |
|
124 |
* 更改时间 |
|
125 |
*/ |
|
126 |
@TableField(value = "update_time", fill = FieldFill.UPDATE) |
|
127 |
private Date updateTime; |
|
128 |
|
|
129 |
@TableField("erp_spec") |
|
130 |
private String erpSpec; |
|
131 |
|
|
132 |
|
|
133 |
public String getMaterialType() { |
|
134 |
return materialType; |
|
135 |
} |
|
136 |
|
|
137 |
public void setMaterialType(String materialType) { |
|
138 |
this.materialType = materialType; |
|
139 |
} |
|
140 |
|
|
141 |
public Long getId() { |
|
142 |
return id; |
|
143 |
} |
|
144 |
|
|
145 |
public void setId(Long id) { |
|
146 |
this.id = id; |
|
147 |
} |
|
148 |
|
|
149 |
public String getMaterialCode() { |
|
150 |
return materialCode; |
|
151 |
} |
|
152 |
|
|
153 |
public void setMaterialCode(String materialCode) { |
|
154 |
this.materialCode = materialCode; |
|
155 |
} |
|
156 |
|
|
157 |
public String getMaterialName() { |
|
158 |
return materialName; |
|
159 |
} |
|
160 |
|
|
161 |
public void setMaterialName(String materialName) { |
|
162 |
this.materialName = materialName; |
|
163 |
} |
|
164 |
|
|
165 |
public String getDrawingNo() { |
|
166 |
return drawingNo; |
|
167 |
} |
|
168 |
|
|
169 |
public void setDrawingNo(String drawingNo) { |
|
170 |
this.drawingNo = drawingNo; |
|
171 |
} |
|
172 |
|
|
173 |
public String getMaterialSpecs() { |
|
174 |
return materialSpecs; |
|
175 |
} |
|
176 |
|
|
177 |
public void setMaterialSpecs(String materialSpecs) { |
|
178 |
this.materialSpecs = materialSpecs; |
|
179 |
} |
|
180 |
|
|
181 |
public String getUnit() { |
|
182 |
return unit; |
|
183 |
} |
|
184 |
|
|
185 |
public void setUnit(String unit) { |
|
186 |
this.unit = unit; |
|
187 |
} |
|
188 |
|
|
189 |
public String getMaterialScience() { |
|
190 |
return materialScience; |
|
191 |
} |
|
192 |
|
|
193 |
public void setMaterialScience(String materialScience) { |
|
194 |
this.materialScience = materialScience; |
|
195 |
} |
|
196 |
|
|
197 |
public String getMaterialAttribute() { |
|
198 |
return materialAttribute; |
|
199 |
} |
|
200 |
|
|
201 |
public void setMaterialAttribute(String materialAttribute) { |
|
202 |
this.materialAttribute = materialAttribute; |
|
203 |
} |
|
204 |
|
|
205 |
public String getIsPurchase() { |
|
206 |
return isPurchase; |
|
207 |
} |
|
208 |
|
|
209 |
public void setIsPurchase(String isPurchase) { |
|
210 |
this.isPurchase = isPurchase; |
|
211 |
} |
|
212 |
|
|
213 |
public String getSupplier() { |
|
214 |
return supplier; |
|
215 |
} |
|
216 |
|
|
217 |
public void setSupplier(String supplier) { |
|
218 |
this.supplier = supplier; |
|
219 |
} |
|
220 |
|
|
221 |
public String getSpareField1() { |
|
222 |
return spareField1; |
|
223 |
} |
|
224 |
|
|
225 |
public void setSpareField1(String spareField1) { |
|
226 |
this.spareField1 = spareField1; |
|
227 |
} |
|
228 |
|
|
229 |
public String getSpareField2() { |
|
230 |
return spareField2; |
|
231 |
} |
|
232 |
|
|
233 |
public void setSpareField2(String spareField2) { |
|
234 |
this.spareField2 = spareField2; |
|
235 |
} |
|
236 |
|
|
237 |
public String getRemarks() { |
|
238 |
return remarks; |
|
239 |
} |
|
240 |
|
|
241 |
public void setRemarks(String remarks) { |
|
242 |
this.remarks = remarks; |
|
243 |
} |
|
244 |
|
|
245 |
public String getCreateUser() { |
|
246 |
return createUser; |
|
247 |
} |
|
248 |
|
|
249 |
public void setCreateUser(String createUser) { |
|
250 |
this.createUser = createUser; |
|
251 |
} |
|
252 |
|
|
253 |
public Date getCreateTime() { |
|
254 |
return createTime; |
|
255 |
} |
|
256 |
|
|
257 |
public void setCreateTime(Date createTime) { |
|
258 |
this.createTime = createTime; |
|
259 |
} |
|
260 |
|
|
261 |
public String getUpdateUser() { |
|
262 |
return updateUser; |
|
263 |
} |
|
264 |
|
|
265 |
public void setUpdateUser(String updateUser) { |
|
266 |
this.updateUser = updateUser; |
|
267 |
} |
|
268 |
|
|
269 |
public Date getUpdateTime() { |
|
270 |
return updateTime; |
|
271 |
} |
|
272 |
|
|
273 |
public void setUpdateTime(Date updateTime) { |
|
274 |
this.updateTime = updateTime; |
|
275 |
} |
|
276 |
|
|
277 |
public String getErpSpec() { |
|
278 |
return erpSpec; |
|
279 |
} |
|
280 |
|
|
281 |
public void setErpSpec(String erpSpec) { |
|
282 |
this.erpSpec = erpSpec; |
|
283 |
} |
|
284 |
|
|
285 |
@Override |
|
286 |
public String toString() { |
|
287 |
return "MaterialInfo{" + |
|
288 |
"id=" + id + |
|
289 |
", materialCode=" + materialCode + |
|
290 |
", materialName=" + materialName + |
|
291 |
", drawingNo=" + drawingNo + |
|
292 |
", materialSpecs=" + materialSpecs + |
|
293 |
", unit=" + unit + |
|
294 |
", materialScience=" + materialScience + |
|
295 |
", materialAttribute=" + materialAttribute + |
|
296 |
", isPurchase=" + isPurchase + |
|
297 |
", supplier=" + supplier + |
|
298 |
", spareField1=" + spareField1 + |
|
299 |
", spareField2=" + spareField2 + |
|
300 |
", remarks=" + remarks + |
|
301 |
", createUser=" + createUser + |
|
302 |
", createTime=" + createTime + |
|
303 |
", updateUser=" + updateUser + |
|
304 |
", updateTime=" + updateTime + |
|
305 |
", erpSpec=" + erpSpec + |
|
306 |
"}"; |
|
307 |
} |
|
308 |
} |