| | |
| | | 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 sVersion; |
| | | @ApiModelProperty("终止版本号") |
| | | private Integer eVersion; |
| | | |
| | | @ApiModelProperty("子件物料实体类") |
| | | @TableField(exist = false) |
| | | private Material subMaterial; |
| | | @ApiModelProperty("子件物料实体类") |
| | | @TableField(exist = false) |
| | | private Material relatedSubMaterial; |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | |
| | | 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; |
| | | } |
| | | } |