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;
|
}
|
}
|