提交 | 用户 | 时间
|
0cceb6
|
1 |
package com.jcdm.main.bs.productBomChild.domain; |
Y |
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_child_info |
|
10 |
* |
|
11 |
* @author yyt |
|
12 |
* @date 2023-12-11 |
|
13 |
*/ |
|
14 |
public class BsProductBomChildInfo extends BaseEntity |
|
15 |
{ |
|
16 |
private static final long serialVersionUID = 1L; |
|
17 |
|
|
18 |
/** 主键id */ |
|
19 |
private Long id; |
|
20 |
|
|
21 |
/** 工序编码 */ |
|
22 |
@Excel(name = "工序编码") |
|
23 |
private String opCode; |
|
24 |
|
|
25 |
/** 工序名称 */ |
|
26 |
@Excel(name = "工序名称") |
|
27 |
private String opName; |
|
28 |
|
|
29 |
/** 物料编码 */ |
|
30 |
@Excel(name = "物料编码") |
|
31 |
private String materialCode; |
|
32 |
|
|
33 |
/** 物料名称 */ |
|
34 |
@Excel(name = "物料名称") |
|
35 |
private String materialName; |
|
36 |
|
|
37 |
/** 单耗 */ |
|
38 |
@Excel(name = "单耗") |
|
39 |
private String costQty; |
|
40 |
|
|
41 |
/** 单位 */ |
|
42 |
@Excel(name = "单位") |
|
43 |
private String unit; |
|
44 |
|
|
45 |
/** 预留字段1 */ |
|
46 |
@Excel(name = "预留字段1") |
|
47 |
private String spareField1; |
|
48 |
|
|
49 |
/** 预留字段2 */ |
|
50 |
@Excel(name = "预留字段2") |
|
51 |
private String spareField2; |
|
52 |
|
|
53 |
/** 预留字段3 */ |
|
54 |
@Excel(name = "预留字段3") |
|
55 |
private String spareField3; |
|
56 |
|
|
57 |
/** BOM编码 */ |
|
58 |
@Excel(name = "BOM编码") |
|
59 |
private String bomCode; |
|
60 |
|
|
61 |
/** BOM主表ID */ |
|
62 |
private Long bomInfoId; |
|
63 |
|
|
64 |
public void setId(Long id) |
|
65 |
{ |
|
66 |
this.id = id; |
|
67 |
} |
|
68 |
|
|
69 |
public Long getId() |
|
70 |
{ |
|
71 |
return id; |
|
72 |
} |
|
73 |
public void setOpCode(String opCode) |
|
74 |
{ |
|
75 |
this.opCode = opCode; |
|
76 |
} |
|
77 |
|
|
78 |
public String getOpCode() |
|
79 |
{ |
|
80 |
return opCode; |
|
81 |
} |
|
82 |
public void setOpName(String opName) |
|
83 |
{ |
|
84 |
this.opName = opName; |
|
85 |
} |
|
86 |
|
|
87 |
public String getOpName() |
|
88 |
{ |
|
89 |
return opName; |
|
90 |
} |
|
91 |
public void setMaterialCode(String materialCode) |
|
92 |
{ |
|
93 |
this.materialCode = materialCode; |
|
94 |
} |
|
95 |
|
|
96 |
public String getMaterialCode() |
|
97 |
{ |
|
98 |
return materialCode; |
|
99 |
} |
|
100 |
public void setMaterialName(String materialName) |
|
101 |
{ |
|
102 |
this.materialName = materialName; |
|
103 |
} |
|
104 |
|
|
105 |
public String getMaterialName() |
|
106 |
{ |
|
107 |
return materialName; |
|
108 |
} |
|
109 |
public void setCostQty(String costQty) |
|
110 |
{ |
|
111 |
this.costQty = costQty; |
|
112 |
} |
|
113 |
|
|
114 |
public String getCostQty() |
|
115 |
{ |
|
116 |
return costQty; |
|
117 |
} |
|
118 |
public void setUnit(String unit) |
|
119 |
{ |
|
120 |
this.unit = unit; |
|
121 |
} |
|
122 |
|
|
123 |
public String getUnit() |
|
124 |
{ |
|
125 |
return unit; |
|
126 |
} |
|
127 |
public void setSpareField1(String spareField1) |
|
128 |
{ |
|
129 |
this.spareField1 = spareField1; |
|
130 |
} |
|
131 |
|
|
132 |
public String getSpareField1() |
|
133 |
{ |
|
134 |
return spareField1; |
|
135 |
} |
|
136 |
public void setSpareField2(String spareField2) |
|
137 |
{ |
|
138 |
this.spareField2 = spareField2; |
|
139 |
} |
|
140 |
|
|
141 |
public String getSpareField2() |
|
142 |
{ |
|
143 |
return spareField2; |
|
144 |
} |
|
145 |
public void setSpareField3(String spareField3) |
|
146 |
{ |
|
147 |
this.spareField3 = spareField3; |
|
148 |
} |
|
149 |
|
|
150 |
public String getSpareField3() |
|
151 |
{ |
|
152 |
return spareField3; |
|
153 |
} |
|
154 |
public void setBomCode(String bomCode) |
|
155 |
{ |
|
156 |
this.bomCode = bomCode; |
|
157 |
} |
|
158 |
|
|
159 |
public String getBomCode() |
|
160 |
{ |
|
161 |
return bomCode; |
|
162 |
} |
|
163 |
public void setBomInfoId(Long bomInfoId) |
|
164 |
{ |
|
165 |
this.bomInfoId = bomInfoId; |
|
166 |
} |
|
167 |
|
|
168 |
public Long getBomInfoId() |
|
169 |
{ |
|
170 |
return bomInfoId; |
|
171 |
} |
|
172 |
|
|
173 |
@Override |
|
174 |
public String toString() { |
|
175 |
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
|
176 |
.append("id", getId()) |
|
177 |
.append("opCode", getOpCode()) |
|
178 |
.append("opName", getOpName()) |
|
179 |
.append("materialCode", getMaterialCode()) |
|
180 |
.append("materialName", getMaterialName()) |
|
181 |
.append("costQty", getCostQty()) |
|
182 |
.append("unit", getUnit()) |
|
183 |
.append("spareField1", getSpareField1()) |
|
184 |
.append("spareField2", getSpareField2()) |
|
185 |
.append("spareField3", getSpareField3()) |
|
186 |
.append("remark", getRemark()) |
|
187 |
.append("bomCode", getBomCode()) |
|
188 |
.append("bomInfoId", getBomInfoId()) |
|
189 |
.toString(); |
|
190 |
} |
|
191 |
} |