提交 | 用户 | 时间
|
1ac2bc
|
1 |
package cn.stylefeng.guns.modular.zsx.bs.productBomInfo.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 |
* 基础BOM |
|
14 |
* </p> |
|
15 |
* |
|
16 |
* @author ruimin |
|
17 |
* @since 2023-08-24 |
|
18 |
*/ |
|
19 |
@TableName("bs_product_bom_info") |
|
20 |
public class ProductBomInfo 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 |
* BOM编码 |
|
32 |
*/ |
|
33 |
@TableField("bom_code") |
|
34 |
private String bomCode; |
|
35 |
|
|
36 |
/** |
|
37 |
* BOM名称 |
|
38 |
*/ |
|
39 |
@TableField("bom_name") |
|
40 |
private String bomName; |
|
41 |
|
|
42 |
/** |
|
43 |
* 产品编码 |
|
44 |
*/ |
|
45 |
@TableField("product_code") |
|
46 |
private String productCode; |
|
47 |
|
|
48 |
/** |
|
49 |
* 产品名称 |
|
50 |
*/ |
|
51 |
@TableField("product_name") |
|
52 |
private String productName; |
|
53 |
|
|
54 |
/** |
|
55 |
* 版本 |
|
56 |
*/ |
|
57 |
@TableField("version") |
|
58 |
private String version; |
|
59 |
|
|
60 |
/** |
|
61 |
* 状态(字典) |
|
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("remark") |
|
82 |
private String remark; |
|
83 |
|
|
84 |
/** |
|
85 |
* 创建用户 |
|
86 |
*/ |
|
87 |
@TableField(value = "create_user", fill = FieldFill.INSERT) |
|
88 |
private String createUser; |
|
89 |
|
|
90 |
/** |
|
91 |
* 创建时间 |
|
92 |
*/ |
|
93 |
@TableField(value = "create_time", fill = FieldFill.INSERT) |
|
94 |
private Date createTime; |
|
95 |
|
|
96 |
/** |
|
97 |
* 更改用户 |
|
98 |
*/ |
|
99 |
@TableField(value = "update_user", fill = FieldFill.UPDATE) |
|
100 |
private String updateUser; |
|
101 |
|
|
102 |
/** |
|
103 |
* 更改时间 |
|
104 |
*/ |
|
105 |
@TableField(value = "update_time", fill = FieldFill.UPDATE) |
|
106 |
private Date updateTime; |
|
107 |
|
|
108 |
|
|
109 |
public Long getId() { |
|
110 |
return id; |
|
111 |
} |
|
112 |
|
|
113 |
public void setId(Long id) { |
|
114 |
this.id = id; |
|
115 |
} |
|
116 |
|
|
117 |
public String getBomCode() { |
|
118 |
return bomCode; |
|
119 |
} |
|
120 |
|
|
121 |
public void setBomCode(String bomCode) { |
|
122 |
this.bomCode = bomCode; |
|
123 |
} |
|
124 |
|
|
125 |
public String getBomName() { |
|
126 |
return bomName; |
|
127 |
} |
|
128 |
|
|
129 |
public void setBomName(String bomName) { |
|
130 |
this.bomName = bomName; |
|
131 |
} |
|
132 |
|
|
133 |
public String getProductCode() { |
|
134 |
return productCode; |
|
135 |
} |
|
136 |
|
|
137 |
public void setProductCode(String productCode) { |
|
138 |
this.productCode = productCode; |
|
139 |
} |
|
140 |
|
|
141 |
public String getProductName() { |
|
142 |
return productName; |
|
143 |
} |
|
144 |
|
|
145 |
public void setProductName(String productName) { |
|
146 |
this.productName = productName; |
|
147 |
} |
|
148 |
|
|
149 |
public String getVersion() { |
|
150 |
return version; |
|
151 |
} |
|
152 |
|
|
153 |
public void setVersion(String version) { |
|
154 |
this.version = version; |
|
155 |
} |
|
156 |
|
|
157 |
public String getStatus() { |
|
158 |
return status; |
|
159 |
} |
|
160 |
|
|
161 |
public void setStatus(String status) { |
|
162 |
this.status = status; |
|
163 |
} |
|
164 |
|
|
165 |
public String getSpareField1() { |
|
166 |
return spareField1; |
|
167 |
} |
|
168 |
|
|
169 |
public void setSpareField1(String spareField1) { |
|
170 |
this.spareField1 = spareField1; |
|
171 |
} |
|
172 |
|
|
173 |
public String getSpareField2() { |
|
174 |
return spareField2; |
|
175 |
} |
|
176 |
|
|
177 |
public void setSpareField2(String spareField2) { |
|
178 |
this.spareField2 = spareField2; |
|
179 |
} |
|
180 |
|
|
181 |
public String getRemark() { |
|
182 |
return remark; |
|
183 |
} |
|
184 |
|
|
185 |
public void setRemark(String remark) { |
|
186 |
this.remark = remark; |
|
187 |
} |
|
188 |
|
|
189 |
public String getCreateUser() { |
|
190 |
return createUser; |
|
191 |
} |
|
192 |
|
|
193 |
public void setCreateUser(String createUser) { |
|
194 |
this.createUser = createUser; |
|
195 |
} |
|
196 |
|
|
197 |
public Date getCreateTime() { |
|
198 |
return createTime; |
|
199 |
} |
|
200 |
|
|
201 |
public void setCreateTime(Date createTime) { |
|
202 |
this.createTime = createTime; |
|
203 |
} |
|
204 |
|
|
205 |
public String getUpdateUser() { |
|
206 |
return updateUser; |
|
207 |
} |
|
208 |
|
|
209 |
public void setUpdateUser(String updateUser) { |
|
210 |
this.updateUser = updateUser; |
|
211 |
} |
|
212 |
|
|
213 |
public Date getUpdateTime() { |
|
214 |
return updateTime; |
|
215 |
} |
|
216 |
|
|
217 |
public void setUpdateTime(Date updateTime) { |
|
218 |
this.updateTime = updateTime; |
|
219 |
} |
|
220 |
|
|
221 |
@Override |
|
222 |
public String toString() { |
|
223 |
return "ProductBomInfo{" + |
|
224 |
"id=" + id + |
|
225 |
", bomCode=" + bomCode + |
|
226 |
", bomName=" + bomName + |
|
227 |
", productCode=" + productCode + |
|
228 |
", productName=" + productName + |
|
229 |
", version=" + version + |
|
230 |
", status=" + status + |
|
231 |
", spareField1=" + spareField1 + |
|
232 |
", spareField2=" + spareField2 + |
|
233 |
", remark=" + remark + |
|
234 |
", createUser=" + createUser + |
|
235 |
", createTime=" + createTime + |
|
236 |
", updateUser=" + updateUser + |
|
237 |
", updateTime=" + updateTime + |
|
238 |
"}"; |
|
239 |
} |
|
240 |
} |