提交 | 用户 | 时间
|
1ac2bc
|
1 |
package cn.stylefeng.guns.modular.zsx.bs.material.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-08-23 |
|
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("material_view") |
|
46 |
private String materialView; |
|
47 |
|
|
48 |
/** |
|
49 |
* 种类 |
|
50 |
*/ |
|
51 |
@TableField("type_z") |
|
52 |
private String typeZ; |
|
53 |
|
|
54 |
/** |
|
55 |
* 类型 |
|
56 |
*/ |
|
57 |
@TableField("type_l") |
|
58 |
private String typeL; |
|
59 |
|
|
60 |
/** |
|
61 |
* 单位 |
|
62 |
*/ |
|
63 |
@TableField("unit") |
|
64 |
private String unit; |
|
65 |
|
|
66 |
/** |
|
67 |
* 版本 |
|
68 |
*/ |
|
69 |
@TableField("matter_version") |
|
70 |
private String matterVersion; |
|
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 |
@TableField("erp_spec") |
|
103 |
private String erpSpec; |
|
104 |
|
|
105 |
|
|
106 |
public Long getId() { |
|
107 |
return id; |
|
108 |
} |
|
109 |
|
|
110 |
public void setId(Long id) { |
|
111 |
this.id = id; |
|
112 |
} |
|
113 |
|
|
114 |
public String getMaterialCode() { |
|
115 |
return materialCode; |
|
116 |
} |
|
117 |
|
|
118 |
public void setMaterialCode(String materialCode) { |
|
119 |
this.materialCode = materialCode; |
|
120 |
} |
|
121 |
|
|
122 |
public String getMaterialName() { |
|
123 |
return materialName; |
|
124 |
} |
|
125 |
|
|
126 |
public void setMaterialName(String materialName) { |
|
127 |
this.materialName = materialName; |
|
128 |
} |
|
129 |
|
|
130 |
public String getMaterialView() { |
|
131 |
return materialView; |
|
132 |
} |
|
133 |
|
|
134 |
public void setMaterialView(String materialView) { |
|
135 |
this.materialView = materialView; |
|
136 |
} |
|
137 |
|
|
138 |
public String getTypeZ() { |
|
139 |
return typeZ; |
|
140 |
} |
|
141 |
|
|
142 |
public void setTypeZ(String typeZ) { |
|
143 |
this.typeZ = typeZ; |
|
144 |
} |
|
145 |
|
|
146 |
public String getTypeL() { |
|
147 |
return typeL; |
|
148 |
} |
|
149 |
|
|
150 |
public void setTypeL(String typeL) { |
|
151 |
this.typeL = typeL; |
|
152 |
} |
|
153 |
|
|
154 |
public String getUnit() { |
|
155 |
return unit; |
|
156 |
} |
|
157 |
|
|
158 |
public void setUnit(String unit) { |
|
159 |
this.unit = unit; |
|
160 |
} |
|
161 |
|
|
162 |
public String getMatterVersion() { |
|
163 |
return matterVersion; |
|
164 |
} |
|
165 |
|
|
166 |
public void setMatterVersion(String matterVersion) { |
|
167 |
this.matterVersion = matterVersion; |
|
168 |
} |
|
169 |
|
|
170 |
public String getRemarks() { |
|
171 |
return remarks; |
|
172 |
} |
|
173 |
|
|
174 |
public void setRemarks(String remarks) { |
|
175 |
this.remarks = remarks; |
|
176 |
} |
|
177 |
|
|
178 |
public String getCreateUser() { |
|
179 |
return createUser; |
|
180 |
} |
|
181 |
|
|
182 |
public void setCreateUser(String createUser) { |
|
183 |
this.createUser = createUser; |
|
184 |
} |
|
185 |
|
|
186 |
public Date getCreateTime() { |
|
187 |
return createTime; |
|
188 |
} |
|
189 |
|
|
190 |
public void setCreateTime(Date createTime) { |
|
191 |
this.createTime = createTime; |
|
192 |
} |
|
193 |
|
|
194 |
public String getUpdateUser() { |
|
195 |
return updateUser; |
|
196 |
} |
|
197 |
|
|
198 |
public void setUpdateUser(String updateUser) { |
|
199 |
this.updateUser = updateUser; |
|
200 |
} |
|
201 |
|
|
202 |
public Date getUpdateTime() { |
|
203 |
return updateTime; |
|
204 |
} |
|
205 |
|
|
206 |
public void setUpdateTime(Date updateTime) { |
|
207 |
this.updateTime = updateTime; |
|
208 |
} |
|
209 |
|
|
210 |
public String getErpSpec() { |
|
211 |
return erpSpec; |
|
212 |
} |
|
213 |
|
|
214 |
public void setErpSpec(String erpSpec) { |
|
215 |
this.erpSpec = erpSpec; |
|
216 |
} |
|
217 |
|
|
218 |
@Override |
|
219 |
public String toString() { |
|
220 |
return "MaterialInfo{" + |
|
221 |
"id=" + id + |
|
222 |
", materialCode=" + materialCode + |
|
223 |
", materialName=" + materialName + |
|
224 |
", materialView=" + materialView + |
|
225 |
", typeZ=" + typeZ + |
|
226 |
", typeL=" + typeL + |
|
227 |
", unit=" + unit + |
|
228 |
", matterVersion=" + matterVersion + |
|
229 |
", remarks=" + remarks + |
|
230 |
", createUser=" + createUser + |
|
231 |
", createTime=" + createTime + |
|
232 |
", updateUser=" + updateUser + |
|
233 |
", updateTime=" + updateTime + |
|
234 |
", erpSpec=" + erpSpec + |
|
235 |
"}"; |
|
236 |
} |
|
237 |
} |