提交 | 用户 | 时间
|
fd2207
|
1 |
package com.jcdm.main.bs.productBom.domain; |
懒 |
2 |
|
|
3 |
import org.apache.commons.lang3.builder.ToStringBuilder; |
|
4 |
import org.apache.commons.lang3.builder.ToStringStyle; |
|
5 |
import com.jcdm.common.annotation.Excel; |
|
6 |
import com.jcdm.common.core.domain.BaseEntity; |
|
7 |
|
|
8 |
/** |
|
9 |
* 基础BOM对象 bs_product_bom_info |
|
10 |
* |
|
11 |
* @author yyt |
|
12 |
* @date 2023-12-11 |
|
13 |
*/ |
|
14 |
public class BsProductBomInfo extends BaseEntity |
|
15 |
{ |
|
16 |
private static final long serialVersionUID = 1L; |
|
17 |
|
|
18 |
/** 主键id */ |
|
19 |
private Long id; |
|
20 |
|
|
21 |
/** BOM编码 */ |
|
22 |
@Excel(name = "BOM编码") |
|
23 |
private String bomCode; |
|
24 |
|
|
25 |
/** BOM名称 */ |
|
26 |
@Excel(name = "BOM名称") |
|
27 |
private String bomName; |
|
28 |
|
|
29 |
/** 产品编码 */ |
|
30 |
@Excel(name = "产品编码") |
|
31 |
private String productCode; |
|
32 |
|
|
33 |
/** 产品名称 */ |
|
34 |
@Excel(name = "产品名称") |
|
35 |
private String productName; |
|
36 |
|
|
37 |
/** 版本 */ |
|
38 |
@Excel(name = "版本") |
|
39 |
private String version; |
|
40 |
|
|
41 |
/** 状态(字典) */ |
|
42 |
@Excel(name = "状态(字典)") |
|
43 |
private String status; |
|
44 |
|
|
45 |
/** 预留字段1 */ |
|
46 |
@Excel(name = "预留字段1") |
|
47 |
private String spareField1; |
|
48 |
|
|
49 |
/** 预留字段2 */ |
|
50 |
@Excel(name = "预留字段2") |
|
51 |
private String spareField2; |
|
52 |
|
|
53 |
/** 创建用户 */ |
|
54 |
@Excel(name = "创建用户") |
|
55 |
private String createUser; |
|
56 |
|
|
57 |
/** 更改用户 */ |
|
58 |
@Excel(name = "更改用户") |
|
59 |
private String updateUser; |
|
60 |
|
|
61 |
/** 数据来源 */ |
|
62 |
@Excel(name = "数据来源") |
|
63 |
private String dataSource; |
|
64 |
|
|
65 |
public void setId(Long id) |
|
66 |
{ |
|
67 |
this.id = id; |
|
68 |
} |
|
69 |
|
|
70 |
public Long getId() |
|
71 |
{ |
|
72 |
return id; |
|
73 |
} |
|
74 |
public void setBomCode(String bomCode) |
|
75 |
{ |
|
76 |
this.bomCode = bomCode; |
|
77 |
} |
|
78 |
|
|
79 |
public String getBomCode() |
|
80 |
{ |
|
81 |
return bomCode; |
|
82 |
} |
|
83 |
public void setBomName(String bomName) |
|
84 |
{ |
|
85 |
this.bomName = bomName; |
|
86 |
} |
|
87 |
|
|
88 |
public String getBomName() |
|
89 |
{ |
|
90 |
return bomName; |
|
91 |
} |
|
92 |
public void setProductCode(String productCode) |
|
93 |
{ |
|
94 |
this.productCode = productCode; |
|
95 |
} |
|
96 |
|
|
97 |
public String getProductCode() |
|
98 |
{ |
|
99 |
return productCode; |
|
100 |
} |
|
101 |
public void setProductName(String productName) |
|
102 |
{ |
|
103 |
this.productName = productName; |
|
104 |
} |
|
105 |
|
|
106 |
public String getProductName() |
|
107 |
{ |
|
108 |
return productName; |
|
109 |
} |
|
110 |
public void setVersion(String version) |
|
111 |
{ |
|
112 |
this.version = version; |
|
113 |
} |
|
114 |
|
|
115 |
public String getVersion() |
|
116 |
{ |
|
117 |
return version; |
|
118 |
} |
|
119 |
public void setStatus(String status) |
|
120 |
{ |
|
121 |
this.status = status; |
|
122 |
} |
|
123 |
|
|
124 |
public String getStatus() |
|
125 |
{ |
|
126 |
return status; |
|
127 |
} |
|
128 |
public void setSpareField1(String spareField1) |
|
129 |
{ |
|
130 |
this.spareField1 = spareField1; |
|
131 |
} |
|
132 |
|
|
133 |
public String getSpareField1() |
|
134 |
{ |
|
135 |
return spareField1; |
|
136 |
} |
|
137 |
public void setSpareField2(String spareField2) |
|
138 |
{ |
|
139 |
this.spareField2 = spareField2; |
|
140 |
} |
|
141 |
|
|
142 |
public String getSpareField2() |
|
143 |
{ |
|
144 |
return spareField2; |
|
145 |
} |
|
146 |
public void setCreateUser(String createUser) |
|
147 |
{ |
|
148 |
this.createUser = createUser; |
|
149 |
} |
|
150 |
|
|
151 |
public String getCreateUser() |
|
152 |
{ |
|
153 |
return createUser; |
|
154 |
} |
|
155 |
public void setUpdateUser(String updateUser) |
|
156 |
{ |
|
157 |
this.updateUser = updateUser; |
|
158 |
} |
|
159 |
|
|
160 |
public String getUpdateUser() |
|
161 |
{ |
|
162 |
return updateUser; |
|
163 |
} |
|
164 |
public void setDataSource(String dataSource) |
|
165 |
{ |
|
166 |
this.dataSource = dataSource; |
|
167 |
} |
|
168 |
|
|
169 |
public String getDataSource() |
|
170 |
{ |
|
171 |
return dataSource; |
|
172 |
} |
|
173 |
|
|
174 |
@Override |
|
175 |
public String toString() { |
|
176 |
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
|
177 |
.append("id", getId()) |
|
178 |
.append("bomCode", getBomCode()) |
|
179 |
.append("bomName", getBomName()) |
|
180 |
.append("productCode", getProductCode()) |
|
181 |
.append("productName", getProductName()) |
|
182 |
.append("version", getVersion()) |
|
183 |
.append("status", getStatus()) |
|
184 |
.append("spareField1", getSpareField1()) |
|
185 |
.append("spareField2", getSpareField2()) |
|
186 |
.append("remark", getRemark()) |
|
187 |
.append("createUser", getCreateUser()) |
|
188 |
.append("createTime", getCreateTime()) |
|
189 |
.append("updateUser", getUpdateUser()) |
|
190 |
.append("updateTime", getUpdateTime()) |
|
191 |
.append("dataSource", getDataSource()) |
|
192 |
.toString(); |
|
193 |
} |
|
194 |
} |