whyclxw
3 天以前 bfa320956f20988fe671b0c4d25aa82fe766a98d
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
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;
 
@TableName(value = "tb_material_product_approving")
@Alias("MaterialProductApproving")
public class MaterialProductApproving {
 
    private Integer id;
    @ApiModelProperty("临时替代物料id")
    private Integer materialId;
    //@ApiModelProperty("产品id")
    //private Integer productId;
    @ApiModelProperty("母料编码")
    private String parentCode;
    @ApiModelProperty("定制表单号")
    private String customCode;
    @ApiModelProperty("子件物料id")
    private int subMaterialId;
    @ApiModelProperty("子件数量")
    private Integer quantity;
    @ApiModelProperty("关联类型:-1(移除),1(关联)")
    private Integer linkType;
    @ApiModelProperty("主表id")
    private Integer mainId;
    @ApiModelProperty("版本号")
    private Integer version;
 
    @TableField(exist = false)
    private Material material;
 
    public Integer getId() {
        return id;
    }
 
    public void setId(Integer id) {
        this.id = id;
    }
 
    public Integer getMaterialId() {
        return materialId;
    }
 
    public void setMaterialId(Integer materialId) {
        this.materialId = materialId;
    }
 
    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 int getSubMaterialId() {
        return subMaterialId;
    }
 
    public void setSubMaterialId(int subMaterialId) {
        this.subMaterialId = subMaterialId;
    }
 
    public Integer getMainId() {
        return mainId;
    }
 
    public void setMainId(Integer mainId) {
        this.mainId = mainId;
    }
 
    public Integer getLinkType() {
        return linkType;
    }
 
    public void setLinkType(Integer linkType) {
        this.linkType = linkType;
    }
 
    public Material getMaterial() {
        return material;
    }
 
    public void setMaterial(Material material) {
        this.material = material;
    }
 
    public Integer getQuantity() {
        return quantity;
    }
 
    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }
 
    public Integer getVersion() {
        return version;
    }
 
    public void setVersion(Integer version) {
        this.version = version;
    }
}