whycxzp
2022-08-25 e8200d6698814ecdf28a319804000b999e63d882
src/main/java/com/whyc/pojo/MaterialProductApproving.java
@@ -10,10 +10,14 @@
public class MaterialProductApproving {
    private Integer id;
    @ApiModelProperty("物料id")
    @ApiModelProperty("临时替代物料id")
    private Integer materialId;
    @ApiModelProperty("产品id")
    private String productId;
    //@ApiModelProperty("产品id")
    //private Integer productId;
    @ApiModelProperty("母料编码")
    private String parentCode;
    @ApiModelProperty("定制表单号")
    private String customCode;
    @ApiModelProperty("子件编码")
    private String subCode;
    @ApiModelProperty("子件数量")
@@ -22,6 +26,8 @@
    private Integer linkType;
    @ApiModelProperty("主表id")
    private Integer mainId;
    @ApiModelProperty("版本号")
    private Integer version;
    @TableField(exist = false)
    private Material material;
@@ -42,12 +48,20 @@
        this.materialId = materialId;
    }
    public String getProductId() {
        return productId;
    public String getParentCode() {
        return parentCode;
    }
    public void setProductId(String productId) {
        this.productId = productId;
    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }
    public String getCustomCode() {
        return customCode;
    }
    public void setCustomCode(String customCode) {
        this.customCode = customCode;
    }
    public String getSubCode() {
@@ -89,4 +103,12 @@
    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }
    public Integer getVersion() {
        return version;
    }
    public void setVersion(Integer version) {
        this.version = version;
    }
}