| | |
| | | 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; |
| | | import org.apache.ibatis.type.Alias; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 产品bom表 |
| | | */ |
| | | @TableName(schema = "db_doc",value = "tb_product_bom") |
| | | @TableName(value = "tb_product_bom") |
| | | @Alias("ProductBom") |
| | | public class ProductBom implements Serializable { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | private Integer id; |
| | | @ApiModelProperty("母料编号") |
| | | private String parentCode; |
| | | @ApiModelProperty("母料名称") |
| | | private String parentName; |
| | | @ApiModelProperty("母料型号") |
| | | private String parentModel; |
| | | @ApiModelProperty("产品id") |
| | | private Integer productId; |
| | | @ApiModelProperty("物料id") |
| | | private Integer materialId; |
| | | @ApiModelProperty("bom最新版本号,同时也是生效版本号(不存在小版本手动启用)") |
| | | private Integer subVersion; |
| | | @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; |
| | | private String pictureUrl; |
| | | private String fileUrl; |
| | | @ApiModelProperty("上传人") |
| | | private Long upUserId; |
| | | @ApiModelProperty("上传人名") |
| | | |
| | | @TableField(exist = false) |
| | | private String upUser; |
| | | private Date createDate; |
| | | private Date updateDate; |
| | | @ApiModelProperty("版本") |
| | | |
| | | @ApiModelProperty("产品版本") |
| | | @TableField(exist = false) |
| | | private Integer version; |
| | | @ApiModelProperty("母料版本号(产品版本号)") |
| | | private String parentVersion; |
| | | |
| | | @ApiModelProperty("工程图纸url") |
| | | @TableField(exist = false) |
| | | private String dwgUrl; |
| | | |
| | | @TableField(exist = false) |
| | | private String pictureUrl; |
| | | |
| | | @TableField(exist = false) |
| | | private String fileUrl; |
| | | |
| | | @TableField(exist = false) |
| | | private Integer dwgExist; |
| | | |
| | | //替代料的料号拼接,格式为 |
| | | // 0341000294, |
| | | //0341000294,0341000294, |
| | | @TableField(exist = false) |
| | | private String relatedMaterialCodes; |
| | | |
| | | @TableField(exist = false) |
| | | @ApiModelProperty(value = "关联的物料集合") |
| | | private List<Material> materials; |
| | | |
| | | @TableField(exist = false) |
| | | @ApiModelProperty(value = "母料编号") |
| | | private String parentCode; |
| | | |
| | | @TableField(exist = false) |
| | | @ApiModelProperty(value = "定制单号") |
| | | private String customCode; |
| | | |
| | | @TableField(exist = false) |
| | | @ApiModelProperty(value = "是否是bom的管理,excel导出有用,0:原件,1:关联件") |
| | | private Integer connFlag; |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getParentCode() { |
| | | return parentCode; |
| | | public Integer getProductId() { |
| | | return productId; |
| | | } |
| | | |
| | | public void setParentCode(String parentCode) { |
| | | this.parentCode = parentCode; |
| | | } |
| | | |
| | | public String getParentName() { |
| | | return parentName; |
| | | } |
| | | |
| | | public void setParentName(String parentName) { |
| | | this.parentName = parentName; |
| | | } |
| | | |
| | | public String getParentModel() { |
| | | return parentModel; |
| | | } |
| | | |
| | | public void setParentModel(String parentModel) { |
| | | this.parentModel = parentModel; |
| | | public void setProductId(Integer productId) { |
| | | this.productId = productId; |
| | | } |
| | | |
| | | public String getType() { |
| | |
| | | this.fileUrl = fileUrl; |
| | | } |
| | | |
| | | public Long getUpUserId() { |
| | | return upUserId; |
| | | } |
| | | |
| | | public void setUpUserId(Long upUserId) { |
| | | this.upUserId = upUserId; |
| | | } |
| | | |
| | | public Date getCreateDate() { |
| | | return createDate; |
| | |
| | | |
| | | public void setCreateDate(Date createDate) { |
| | | this.createDate = createDate; |
| | | } |
| | | |
| | | public Date getUpdateDate() { |
| | | return updateDate; |
| | | } |
| | | |
| | | public void setUpdateDate(Date updateDate) { |
| | | this.updateDate = updateDate; |
| | | } |
| | | |
| | | public Integer getVersion() { |
| | |
| | | this.version = version; |
| | | } |
| | | |
| | | public String getParentVersion() { |
| | | return parentVersion; |
| | | } |
| | | |
| | | public void setParentVersion(String parentVersion) { |
| | | this.parentVersion = parentVersion; |
| | | } |
| | | |
| | | public String getDwgUrl() { |
| | | return dwgUrl; |
| | | } |
| | |
| | | this.dwgUrl = dwgUrl; |
| | | } |
| | | |
| | | public String getUpUser() { |
| | | return upUser; |
| | | |
| | | public List<Material> getMaterials() { |
| | | return materials; |
| | | } |
| | | |
| | | public void setUpUser(String upUser) { |
| | | this.upUser = upUser; |
| | | public void setMaterials(List<Material> materials) { |
| | | this.materials = materials; |
| | | } |
| | | |
| | | public String getParentCode() { |
| | | return parentCode; |
| | | } |
| | | |
| | | public void setParentCode(String parentCode) { |
| | | this.parentCode = parentCode; |
| | | } |
| | | |
| | | public String getCustomCode() { |
| | | return customCode; |
| | | } |
| | | |
| | | public void setCustomCode(String customCode) { |
| | | this.customCode = customCode; |
| | | } |
| | | |
| | | public Integer getDwgExist() { |
| | | return dwgExist; |
| | | } |
| | | |
| | | public void setDwgExist(Integer dwgExist) { |
| | | this.dwgExist = dwgExist; |
| | | } |
| | | |
| | | public void setMaterialId(Integer materialId) { |
| | | this.materialId = materialId; |
| | | } |
| | | |
| | | public Integer getSubVersion() { |
| | | return subVersion; |
| | | } |
| | | |
| | | public void setSubVersion(Integer subVersion) { |
| | | this.subVersion = subVersion; |
| | | } |
| | | |
| | | public Integer getMaterialId() { |
| | | return materialId; |
| | | } |
| | | |
| | | public Integer getConnFlag() { |
| | | return connFlag; |
| | | } |
| | | |
| | | public void setConnFlag(Integer connFlag) { |
| | | this.connFlag = connFlag; |
| | | } |
| | | |
| | | public Material getMaterialObj() { |
| | | return materialObj; |
| | | } |
| | | |
| | | public void setMaterialObj(Material materialObj) { |
| | | this.materialObj = materialObj; |
| | | } |
| | | |
| | | public String getProducerSpecification() { |
| | | return producerSpecification; |
| | | } |
| | | |
| | | public void setProducerSpecification(String producerSpecification) { |
| | | this.producerSpecification = producerSpecification; |
| | | } |
| | | |
| | | public String getRelatedMaterialCodes() { |
| | | return relatedMaterialCodes; |
| | | } |
| | | |
| | | public void setRelatedMaterialCodes(String relatedMaterialCodes) { |
| | | this.relatedMaterialCodes = relatedMaterialCodes; |
| | | } |
| | | |
| | | } |