whyclxw
2 天以前 cf9a5039e6db9d1d5963e3fe1a37d00169ec2ef7
src/main/java/com/whyc/pojo/ProductBomHistory.java
@@ -11,44 +11,72 @@
/**
 * 产品bom表历史记录
 */
@TableName(schema = "db_doc",value = "tb_product_bom_history")
@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 String     pictureUrl;
    @TableField(exist = false)
    private String     fileUrl;
    @ApiModelProperty("上传人")
    private Long     upUserId;
    private Date    createDate;
    @TableField(exist = false)
    @ApiModelProperty("版本号")
    private Integer   version;
@@ -57,9 +85,18 @@
    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 = "母料编号")
@@ -68,6 +105,10 @@
    @TableField(exist = false)
    @ApiModelProperty(value = "定制单号")
    private String customCode;
    @TableField(exist = false)
    @ApiModelProperty(value = "是否是bom的管理,excel导出有用,0:原件,1:关联件")
    private Integer connFlag;
    public Integer getId() {
@@ -190,14 +231,6 @@
        this.fileUrl = fileUrl;
    }
    public Long getUpUserId() {
        return upUserId;
    }
    public void setUpUserId(Long upUserId) {
        this.upUserId = upUserId;
    }
    public Date getCreateDate() {
        return createDate;
    }
@@ -238,6 +271,13 @@
        this.materials = materials;
    }
    public List<Software> getSoftwares() {
        return softwares;
    }
    public void setSoftwares(List<Software> softwares) {
        this.softwares = softwares;
    }
    public String getParentCode() {
        return parentCode;
@@ -255,4 +295,51 @@
        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;
    }
}