| | |
| | | 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; |
| | | |
| | | @TableName(schema = "db_doc",value = "tb_material_product_history") |
| | | @TableName(value = "tb_material_product_history") |
| | | @Alias("MaterialProductHistory") |
| | | public class MaterialProductHistory { |
| | | |
| | | private Integer id; |
| | | @ApiModelProperty("物料id") |
| | | @ApiModelProperty("子件物料id") |
| | | private Integer subMaterialId; |
| | | @ApiModelProperty("临时替代物料id") |
| | | private Integer materialId; |
| | | @ApiModelProperty("产品id") |
| | | private String productId; |
| | | //@ApiModelProperty("产品id") |
| | | //private String productId; |
| | | @ApiModelProperty("母料编码") |
| | | private String parentCode; |
| | | @ApiModelProperty("定制表单号") |
| | | private String customCode; |
| | | @ApiModelProperty("子件编码") |
| | | private String subCode; |
| | | @ApiModelProperty("子件数量") |
| | | private Integer quantity; |
| | | private Date createTime; |
| | | @ApiModelProperty("关联类型:1(关联)") |
| | | private Integer linkType; |
| | | private Integer version; |
| | | @ApiModelProperty("起始版本号") |
| | | private Integer sVersion; |
| | | @ApiModelProperty("终止版本号") |
| | | private Integer eVersion; |
| | | |
| | | @ApiModelProperty("子件物料实体类") |
| | | @TableField(exist = false) |
| | | private Material subMaterial; |
| | | @ApiModelProperty("子件物料实体类") |
| | | @TableField(exist = false) |
| | | private Material relatedSubMaterial; |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | |
| | | this.materialId = materialId; |
| | | } |
| | | |
| | | public String getProductId() { |
| | | return productId; |
| | | public String getParentCode() { |
| | | return parentCode; |
| | | } |
| | | |
| | | public void setProductId(String productId) { |
| | | this.productId = productId; |
| | | public void setParentCode(String parentCode) { |
| | | this.parentCode = parentCode; |
| | | } |
| | | |
| | | public String getCustomCode() { |
| | | return customCode; |
| | | } |
| | | |
| | | public void setCustomCode(String customCode) { |
| | | this.customCode = customCode; |
| | | } |
| | | |
| | | public String getSubCode() { |
| | |
| | | this.subCode = subCode; |
| | | } |
| | | |
| | | public Integer getVersion() { |
| | | return version; |
| | | public Integer getSVersion() { |
| | | return sVersion; |
| | | } |
| | | |
| | | public void setVersion(Integer version) { |
| | | this.version = version; |
| | | public void setSVersion(Integer sVersion) { |
| | | this.sVersion = sVersion; |
| | | } |
| | | |
| | | public Integer getEVersion() { |
| | | return eVersion; |
| | | } |
| | | |
| | | public void setEVersion(Integer eVersion) { |
| | | this.eVersion = eVersion; |
| | | } |
| | | |
| | | public Date getCreateTime() { |
| | |
| | | this.createTime = createTime; |
| | | } |
| | | |
| | | public Integer getLinkType() { |
| | | return linkType; |
| | | } |
| | | |
| | | public void setLinkType(Integer linkType) { |
| | | this.linkType = linkType; |
| | | } |
| | | |
| | | public Integer getQuantity() { |
| | | return quantity; |
| | | } |
| | |
| | | public void setQuantity(Integer quantity) { |
| | | this.quantity = quantity; |
| | | } |
| | | |
| | | public Integer getSubMaterialId() { |
| | | return subMaterialId; |
| | | } |
| | | |
| | | public void setSubMaterialId(Integer subMaterialId) { |
| | | this.subMaterialId = subMaterialId; |
| | | } |
| | | |
| | | public Material getSubMaterial() { |
| | | return subMaterial; |
| | | } |
| | | |
| | | public void setSubMaterial(Material subMaterial) { |
| | | this.subMaterial = subMaterial; |
| | | } |
| | | |
| | | public Material getRelatedSubMaterial() { |
| | | return relatedSubMaterial; |
| | | } |
| | | |
| | | public void setRelatedSubMaterial(Material relatedSubMaterial) { |
| | | this.relatedSubMaterial = relatedSubMaterial; |
| | | } |
| | | } |