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 {
@@ -24,7 +24,9 @@
    private Integer subSVersion;
    @ApiModelProperty("bom终止版本")
    private Integer subEVersion;
    @ApiModelProperty("物料实体类")
    @TableField(exist = false)
    private Material materialObj;
    @ApiModelProperty("结构件类型")
@@ -32,7 +34,6 @@
    private String type;
    @ApiModelProperty("类别")
    @TableField(exist = false)
    private String     category;
    @ApiModelProperty("子件编码")
@@ -55,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)
@@ -95,6 +94,9 @@
    @ApiModelProperty(value = "关联的物料集合")
    private List<Material> materials;
    @TableField(exist = false)
    @ApiModelProperty(value = "关联的物料集合")
    private List<Software> softwares;
    @TableField(exist = false)
    @ApiModelProperty(value = "母料编号")
@@ -107,6 +109,7 @@
    @TableField(exist = false)
    @ApiModelProperty(value = "是否是bom的管理,excel导出有用,0:原件,1:关联件")
    private Integer connFlag;
    public Integer getId() {
        return id;
@@ -268,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;
@@ -324,4 +334,12 @@
    public void setConnFlag(Integer connFlag) {
        this.connFlag = connFlag;
    }
    public String getProducerSpecification() {
        return producerSpecification;
    }
    public void setProducerSpecification(String producerSpecification) {
        this.producerSpecification = producerSpecification;
    }
}