whyclxw
2 天以前 cf9a5039e6db9d1d5963e3fe1a37d00169ec2ef7
src/main/java/com/whyc/pojo/Material.java
@@ -10,17 +10,15 @@
import java.util.List;
/**
 * 散装件
 * 物料
 */
@TableName(schema = "db_doc",value = "tb_material")
@TableName(value = "tb_material")
@Alias("Material")
public class Material {
    private Integer   id;
    @ApiModelProperty("母料编号")
    private String type;
    @ApiModelProperty("类别")
    private String     category;
    @ApiModelProperty("子件编码")
    private String     subCode;
    @ApiModelProperty("子件名称")
@@ -29,16 +27,8 @@
    private String     subModel;
    @ApiModelProperty("单位")
    private String     unit;
    @ApiModelProperty("子件数量")
    private Integer   quantity;
    @ApiModelProperty("生产商")
    private String     producer;
    @ApiModelProperty("封装类型/材质")
    private String     material;
    @ApiModelProperty("元件编号/料厚")
    private String     thickness;
    @ApiModelProperty("表面处理/物料详情")
    private String     surfaceDetail;
    @TableField(exist = false)
    @ApiModelProperty("备注")
    private String     notes;
    private String     pictureUrl;
@@ -62,6 +52,18 @@
    @ApiModelProperty(value = "包含物料编码的产品")
    private List<Product> products;
    @TableField(exist = false)
    @ApiModelProperty(value = "附件锁定信息")
    private List<AttachLock> attachLocks;
    @TableField(exist = false)
    @ApiModelProperty(value = "是否存在附件:1存在,0无")
    private int hasAttachFlag;
    @TableField(exist = false)
    @ApiModelProperty(value = "附件目录下的文件列表")
    private List attachFileList;
    public Integer getId() {
        return id;
@@ -77,14 +79,6 @@
    public void setType(String type) {
        this.type = type;
    }
    public String getCategory() {
        return category;
    }
    public void setCategory(String category) {
        this.category = category;
    }
    public String getSubCode() {
@@ -117,46 +111,6 @@
    public void setUnit(String unit) {
        this.unit = unit;
    }
    public Integer getQuantity() {
        return quantity;
    }
    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }
    public String getProducer() {
        return producer;
    }
    public void setProducer(String producer) {
        this.producer = producer;
    }
    public String getMaterial() {
        return material;
    }
    public void setMaterial(String material) {
        this.material = material;
    }
    public String getThickness() {
        return thickness;
    }
    public void setThickness(String thickness) {
        this.thickness = thickness;
    }
    public String getSurfaceDetail() {
        return surfaceDetail;
    }
    public void setSurfaceDetail(String surfaceDetail) {
        this.surfaceDetail = surfaceDetail;
    }
    public String getNotes() {
@@ -238,4 +192,28 @@
    public void setProducts(List<Product> products) {
        this.products = products;
    }
    public List<AttachLock> getAttachLocks() {
        return attachLocks;
    }
    public void setAttachLocks(List<AttachLock> attachLocks) {
        this.attachLocks = attachLocks;
    }
    public int getHasAttachFlag() {
        return hasAttachFlag;
    }
    public void setHasAttachFlag(int hasAttachFlag) {
        this.hasAttachFlag = hasAttachFlag;
    }
    public List getAttachFileList() {
        return attachFileList;
    }
    public void setAttachFileList(List attachFileList) {
        this.attachFileList = attachFileList;
    }
}