whyclxw
2 天以前 cf9a5039e6db9d1d5963e3fe1a37d00169ec2ef7
src/main/java/com/whyc/pojo/ProductBomHistory.java
@@ -11,7 +11,7 @@
/**
 * 产品bom表历史记录
 */
@TableName(schema = "db_doc",value = "tb_product_bom_history")
@TableName(value = "tb_product_bom_history")
@Alias("ProductBomHistory")
public class ProductBomHistory {
@@ -25,12 +25,15 @@
    @ApiModelProperty("bom终止版本")
    private Integer subEVersion;
    @ApiModelProperty("物料实体类")
    @TableField(exist = false)
    private Material materialObj;
    @ApiModelProperty("结构件类型")
    @TableField(exist = false)
    private String type;
    @ApiModelProperty("类别")
    @TableField(exist = false)
    private String     category;
    @ApiModelProperty("子件编码")
@@ -53,23 +56,21 @@
    private Integer   quantity;
    @ApiModelProperty("生产商")
    @TableField(exist = false)
    private String     producer;
    @ApiModelProperty("厂家规格")
    private String producerSpecification;
    @ApiModelProperty("封装类型/材质")
    @TableField(exist = false)
    private String     material;
    @ApiModelProperty("元件编号/料厚")
    @TableField(exist = false)
    private String     thickness;
    @ApiModelProperty("表面处理/物料详情")
    @TableField(exist = false)
    private String     surfaceDetail;
    @ApiModelProperty("备注")
    @TableField(exist = false)
    private String     notes;
    @TableField(exist = false)
@@ -93,6 +94,9 @@
    @ApiModelProperty(value = "关联的物料集合")
    private List<Material> materials;
    @TableField(exist = false)
    @ApiModelProperty(value = "关联的物料集合")
    private List<Software> softwares;
    @TableField(exist = false)
    @ApiModelProperty(value = "母料编号")
@@ -101,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() {
@@ -263,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;
@@ -303,4 +318,28 @@
    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;
    }
}