lxw
2022-09-01 b848451e8889fea12ce40b7818c1b8d84b50ea02
src/main/java/com/whyc/pojo/ProductBomHistory.java
@@ -6,6 +6,7 @@
import org.apache.ibatis.type.Alias;
import java.util.Date;
import java.util.List;
/**
 * 产品bom表历史记录
@@ -15,12 +16,8 @@
public class ProductBomHistory {
    private Integer   id;
    @ApiModelProperty("母料编号")
    private String     parentCode;
    @ApiModelProperty("母料名称")
    private String     parentName;
    @ApiModelProperty("母料型号")
    private String     parentModel;
    @ApiModelProperty("产品id")
    private Integer productId;
    @ApiModelProperty("结构件类型")
    private String type;
    @ApiModelProperty("类别")
@@ -45,21 +42,33 @@
    private String     surfaceDetail;
    @ApiModelProperty("备注")
    private String     notes;
    @TableField(exist = false)
    private String     pictureUrl;
    @TableField(exist = false)
    private String     fileUrl;
    @ApiModelProperty("上传人")
    private String     upUser;
    private Long     upUserId;
    private Date    createDate;
    //private Date updateDate;
    @ApiModelProperty("起始版本号")
    private Integer   sVersion;
    @ApiModelProperty("终止版本号")
    private Integer   eVersion;
    @ApiModelProperty("母料版本号(产品版本号)")
    private String parentVersion;
    @ApiModelProperty("版本号")
    private Integer   version;
    @ApiModelProperty("工程图纸url")
    @TableField(exist = false)
    private String dwgUrl;
    @TableField(exist = false)
    @ApiModelProperty(value = "关联的物料集合")
    private List<Material> materials;
    @TableField(exist = false)
    @ApiModelProperty(value = "母料编号")
    private String parentCode;
    @TableField(exist = false)
    @ApiModelProperty(value = "定制单号")
    private String customCode;
    public Integer getId() {
        return id;
@@ -67,30 +76,6 @@
    public void setId(Integer id) {
        this.id = id;
    }
    public String getParentCode() {
        return parentCode;
    }
    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }
    public String getParentName() {
        return parentName;
    }
    public void setParentName(String parentName) {
        this.parentName = parentName;
    }
    public String getParentModel() {
        return parentModel;
    }
    public void setParentModel(String parentModel) {
        this.parentModel = parentModel;
    }
    public String getType() {
@@ -205,12 +190,12 @@
        this.fileUrl = fileUrl;
    }
    public String getUpUser() {
        return upUser;
    public Long getUpUserId() {
        return upUserId;
    }
    public void setUpUser(String upUser) {
        this.upUser = upUser;
    public void setUpUserId(Long upUserId) {
        this.upUserId = upUserId;
    }
    public Date getCreateDate() {
@@ -221,30 +206,6 @@
        this.createDate = createDate;
    }
    public Integer getSVersion() {
        return sVersion;
    }
    public void setSVersion(Integer sVersion) {
        this.sVersion = sVersion;
    }
    public Integer getEVersion() {
        return eVersion;
    }
    public void setEVersion(Integer eVersion) {
        this.eVersion = eVersion;
    }
    public String getParentVersion() {
        return parentVersion;
    }
    public void setParentVersion(String parentVersion) {
        this.parentVersion = parentVersion;
    }
    public String getDwgUrl() {
        return dwgUrl;
    }
@@ -252,4 +213,46 @@
    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 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;
    }
}