src/main/java/com/whyc/pojo/ProductBom.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/java/com/whyc/pojo/ProductBomHistory.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/java/com/whyc/pojo/ProductBom.java
@@ -1,6 +1,7 @@ package com.whyc.pojo; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModelProperty; @@ -17,60 +18,50 @@ public class ProductBom implements Serializable { private static final long serialVersionUID = 1L; @TableId(value = "id", type = IdType.AUTO) private Integer id; @ApiModelProperty(value = "母料编号") @ApiModelProperty("母料编号") private String parentCode; @ApiModelProperty(value = "母料名称") @ApiModelProperty("母料名称") private String parentName; @ApiModelProperty(value = "母料型号") @ApiModelProperty("母料型号") private String parentModel; @ApiModelProperty(value = "类别") @ApiModelProperty("结构件类型") private String type; @ApiModelProperty("类别") private String category; @ApiModelProperty(value = "子件编码") @ApiModelProperty("子件编码") private String subCode; @ApiModelProperty(value = "子件名称") @ApiModelProperty("子件名称") private String subName; @ApiModelProperty(value = "子件型号") @ApiModelProperty("子件型号") private String subModel; @ApiModelProperty(value = "单位") @ApiModelProperty("单位") private String unit; @ApiModelProperty(value = "子件数量") @ApiModelProperty("子件数量") private Integer quantity; @ApiModelProperty(value = "生产商") @ApiModelProperty("生产商") private String producer; @ApiModelProperty(value = "封装类型/材质") @ApiModelProperty("封装类型/材质") private String material; @ApiModelProperty(value = "元件编号/料厚") @ApiModelProperty("元件编号/料厚") private String thickness; @ApiModelProperty(value = "表面处理/物料详情") @ApiModelProperty("表面处理/物料详情") private String surfaceDetail; @ApiModelProperty(value = "备注") @ApiModelProperty("备注") private String notes; private String pictureUrl; private String fileUrl; @ApiModelProperty(value = "上传人") @ApiModelProperty("上传人") private String upUser; private Date createDate; private Date updateDate; @ApiModelProperty(value = "版本") @ApiModelProperty("版本") private Integer version; @ApiModelProperty("母料版本号(产品版本号)") private String parentVersion; @ApiModelProperty("工程图纸url") private String dwgUrl; public Integer getId() { return id; @@ -102,6 +93,14 @@ public void setParentModel(String parentModel) { this.parentModel = parentModel; } public String getType() { return type; } public void setType(String type) { this.type = type; } public String getCategory() { @@ -239,4 +238,20 @@ public void setVersion(Integer version) { this.version = version; } public String getParentVersion() { return parentVersion; } public void setParentVersion(String parentVersion) { this.parentVersion = parentVersion; } public String getDwgUrl() { return dwgUrl; } public void setDwgUrl(String dwgUrl) { this.dwgUrl = dwgUrl; } } src/main/java/com/whyc/pojo/ProductBomHistory.java
@@ -1,6 +1,8 @@ package com.whyc.pojo; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModelProperty; import org.apache.ibatis.type.Alias; import java.util.Date; @@ -13,44 +15,51 @@ public class ProductBomHistory { private Integer id; /**母料编号*/ @ApiModelProperty("母料编号") private String parentCode; /**母料名称*/ @ApiModelProperty("母料名称") private String parentName; /**母料型号*/ @ApiModelProperty("母料型号") private String parentModel; /** 类别*/ @ApiModelProperty("结构件类型") private String type; @ApiModelProperty("类别") private String category; /**子件编码*/ @ApiModelProperty("子件编码") private String subCode; /**子件名称*/ @ApiModelProperty("子件名称") private String subName; /**子件型号*/ @ApiModelProperty("子件型号") 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; /** 备注*/ @ApiModelProperty("备注") private String notes; private String pictureUrl; private String fileUrl; /**上传人*/ @ApiModelProperty("上传人") private String upUser; private Date createDate; private Integer updateType; /**起始版本号*/ private Date updateDate; @ApiModelProperty("起始版本号") private Integer sVersion; /**终止版本号*/ @ApiModelProperty("终止版本号") private Integer eVersion; @ApiModelProperty("母料版本号(产品版本号)") private String parentVersion; @ApiModelProperty("工程图纸url") private String dwgUrl; public Integer getId() { return id; @@ -82,6 +91,14 @@ public void setParentModel(String parentModel) { this.parentModel = parentModel; } public String getType() { return type; } public void setType(String type) { this.type = type; } public String getCategory() { @@ -204,12 +221,12 @@ this.createDate = createDate; } public Integer getUpdateType() { return updateType; public Date getUpdateDate() { return updateDate; } public void setUpdateType(Integer updateType) { this.updateType = updateType; public void setUpdateDate(Date updateDate) { this.updateDate = updateDate; } public Integer getsVersion() { @@ -227,4 +244,20 @@ 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; } public void setDwgUrl(String dwgUrl) { this.dwgUrl = dwgUrl; } }