whyclxw
3 天以前 10c3d3300cce0ccef45b9db8865b61999385158b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
package com.whyc.pojo;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import org.apache.ibatis.type.Alias;
 
import java.util.Date;
import java.util.List;
 
/**
 * 产品bom表历史记录
 */
@TableName(value = "tb_product_bom_history")
@Alias("ProductBomHistory")
public class ProductBomHistory {
 
    private Integer   id;
    @ApiModelProperty("产品id")
    private Integer productId;
    @ApiModelProperty("物料id")
    private Integer materialId;
    @ApiModelProperty("bom起始版本")
    private Integer subSVersion;
    @ApiModelProperty("bom终止版本")
    private Integer subEVersion;
 
    @ApiModelProperty("物料实体类")
    @TableField(exist = false)
    private Material materialObj;
 
    @ApiModelProperty("结构件类型")
    @TableField(exist = false)
    private String type;
 
    @ApiModelProperty("类别")
    private String     category;
 
    @ApiModelProperty("子件编码")
    @TableField(exist = false)
    private String     subCode;
 
    @ApiModelProperty("子件名称")
    @TableField(exist = false)
    private String     subName;
 
    @ApiModelProperty("子件型号")
    @TableField(exist = false)
    private String     subModel;
 
    @ApiModelProperty("单位")
    @TableField(exist = false)
    private String     unit;
 
    @ApiModelProperty("子件数量")
    private Integer   quantity;
 
    @ApiModelProperty("生产商")
    private String     producer;
 
    @ApiModelProperty("厂家规格")
    private String producerSpecification;
 
    @ApiModelProperty("封装类型/材质")
    private String     material;
 
    @ApiModelProperty("元件编号/料厚")
    private String     thickness;
 
    @ApiModelProperty("表面处理/物料详情")
    private String     surfaceDetail;
 
    @ApiModelProperty("备注")
    private String     notes;
 
    @TableField(exist = false)
    private Date    createDate;
 
    @TableField(exist = false)
    @ApiModelProperty("版本号")
    private Integer   version;
 
    @ApiModelProperty("工程图纸url")
    @TableField(exist = false)
    private String dwgUrl;
 
    @TableField(exist = false)
    private String     pictureUrl;
 
    @TableField(exist = false)
    private String     fileUrl;
 
    @TableField(exist = false)
    @ApiModelProperty(value = "关联的物料集合")
    private List<Material> materials;
 
    @TableField(exist = false)
    @ApiModelProperty(value = "关联的物料集合")
    private List<Software> softwares;
 
    @TableField(exist = false)
    @ApiModelProperty(value = "母料编号")
    private String parentCode;
 
    @TableField(exist = false)
    @ApiModelProperty(value = "定制单号")
    private String customCode;
 
    @TableField(exist = false)
    @ApiModelProperty(value = "是否是bom的管理,excel导出有用,0:原件,1:关联件")
    private Integer connFlag;
 
 
    public Integer getId() {
        return id;
    }
 
    public void setId(Integer id) {
        this.id = id;
    }
 
    public String getType() {
        return type;
    }
 
    public void setType(String type) {
        this.type = type;
    }
 
    public String getCategory() {
        return category;
    }
 
    public void setCategory(String category) {
        this.category = category;
    }
 
    public String getSubCode() {
        return subCode;
    }
 
    public void setSubCode(String subCode) {
        this.subCode = subCode;
    }
 
    public String getSubName() {
        return subName;
    }
 
    public void setSubName(String subName) {
        this.subName = subName;
    }
 
    public String getSubModel() {
        return subModel;
    }
 
    public void setSubModel(String subModel) {
        this.subModel = subModel;
    }
 
    public String getUnit() {
        return unit;
    }
 
    public void setUnit(String unit) {
        this.unit = unit;
    }
 
    public Integer getQuantity() {
        return quantity;
    }
 
    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }
 
    public String getProducer() {
        return producer;
    }
 
    public void setProducer(String producer) {
        this.producer = producer;
    }
 
    public String getMaterial() {
        return material;
    }
 
    public void setMaterial(String material) {
        this.material = material;
    }
 
    public String getThickness() {
        return thickness;
    }
 
    public void setThickness(String thickness) {
        this.thickness = thickness;
    }
 
    public String getSurfaceDetail() {
        return surfaceDetail;
    }
 
    public void setSurfaceDetail(String surfaceDetail) {
        this.surfaceDetail = surfaceDetail;
    }
 
    public String getNotes() {
        return notes;
    }
 
    public void setNotes(String notes) {
        this.notes = notes;
    }
 
    public String getPictureUrl() {
        return pictureUrl;
    }
 
    public void setPictureUrl(String pictureUrl) {
        this.pictureUrl = pictureUrl;
    }
 
    public String getFileUrl() {
        return fileUrl;
    }
 
    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }
 
    public Date getCreateDate() {
        return createDate;
    }
 
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
 
    public String getDwgUrl() {
        return dwgUrl;
    }
 
    public void setDwgUrl(String dwgUrl) {
        this.dwgUrl = dwgUrl;
    }
 
    public Integer getProductId() {
        return productId;
    }
 
    public void setProductId(Integer productId) {
        this.productId = productId;
    }
 
    public Integer getVersion() {
        return version;
    }
 
    public void setVersion(Integer version) {
        this.version = version;
    }
 
    public List<Material> getMaterials() {
        return materials;
    }
 
    public void setMaterials(List<Material> materials) {
        this.materials = materials;
    }
 
    public List<Software> getSoftwares() {
        return softwares;
    }
 
    public void setSoftwares(List<Software> softwares) {
        this.softwares = softwares;
    }
 
    public String getParentCode() {
        return parentCode;
    }
 
    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }
 
    public String getCustomCode() {
        return customCode;
    }
 
    public void setCustomCode(String customCode) {
        this.customCode = customCode;
    }
 
    public Integer getMaterialId() {
        return materialId;
    }
 
    public void setMaterialId(Integer materialId) {
        this.materialId = materialId;
    }
 
    public Integer getSubSVersion() {
        return subSVersion;
    }
 
    public void setSubSVersion(Integer subSVersion) {
        this.subSVersion = subSVersion;
    }
 
    public Integer getSubEVersion() {
        return subEVersion;
    }
 
    public void setSubEVersion(Integer subEVersion) {
        this.subEVersion = subEVersion;
    }
 
    public Material getMaterialObj() {
        return materialObj;
    }
 
    public void setMaterialObj(Material materialObj) {
        this.materialObj = materialObj;
    }
 
    public Integer getConnFlag() {
        return connFlag;
    }
 
    public void setConnFlag(Integer connFlag) {
        this.connFlag = connFlag;
    }
 
    public String getProducerSpecification() {
        return producerSpecification;
    }
 
    public void setProducerSpecification(String producerSpecification) {
        this.producerSpecification = producerSpecification;
    }
}