This commit is contained in:
xd 2024-03-01 10:19:19 +08:00
parent 2841feb310
commit 1744b2ab03
1 changed files with 30 additions and 18 deletions

View File

@ -8,7 +8,7 @@ import com.ruoyi.common.core.domain.BaseEntity;
/** /**
* 物料管理对象 c_material * 物料管理对象 c_material
* *
* @author ruoyi * @author ruoyi
* @date 2024-02-28 * @date 2024-02-28
*/ */
@ -19,6 +19,9 @@ public class CMaterial extends BaseEntity
/** id */ /** id */
private Long materialId; private Long materialId;
/** 关联物料类型id */
private Long materialTypeId;
/** 型号 */ /** 型号 */
@Excel(name = "型号") @Excel(name = "型号")
private String materialXingh; private String materialXingh;
@ -38,48 +41,57 @@ public class CMaterial extends BaseEntity
/** 物料成本信息 */ /** 物料成本信息 */
private List<CMaterialCost> cMaterialCostList; private List<CMaterialCost> cMaterialCostList;
public void setMaterialId(Long materialId) public void setMaterialId(Long materialId)
{ {
this.materialId = materialId; this.materialId = materialId;
} }
public Long getMaterialId() public Long getMaterialId()
{ {
return materialId; return materialId;
} }
public void setMaterialXingh(String materialXingh)
public Long getMaterialTypeId() {
return materialTypeId;
}
public void setMaterialTypeId(Long materialTypeId) {
this.materialTypeId = materialTypeId;
}
public void setMaterialXingh(String materialXingh)
{ {
this.materialXingh = materialXingh; this.materialXingh = materialXingh;
} }
public String getMaterialXingh() public String getMaterialXingh()
{ {
return materialXingh; return materialXingh;
} }
public void setMaterialGuig(String materialGuig) public void setMaterialGuig(String materialGuig)
{ {
this.materialGuig = materialGuig; this.materialGuig = materialGuig;
} }
public String getMaterialGuig() public String getMaterialGuig()
{ {
return materialGuig; return materialGuig;
} }
public void setMaterialDiany(String materialDiany) public void setMaterialDiany(String materialDiany)
{ {
this.materialDiany = materialDiany; this.materialDiany = materialDiany;
} }
public String getMaterialDiany() public String getMaterialDiany()
{ {
return materialDiany; return materialDiany;
} }
public void setMaterialDw(String materialDw) public void setMaterialDw(String materialDw)
{ {
this.materialDw = materialDw; this.materialDw = materialDw;
} }
public String getMaterialDw() public String getMaterialDw()
{ {
return materialDw; return materialDw;
} }
@ -97,12 +109,12 @@ public class CMaterial extends BaseEntity
@Override @Override
public String toString() { public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("materialId", getMaterialId()) .append("materialId", getMaterialId())
.append("materialXingh", getMaterialXingh()) .append("materialXingh", getMaterialXingh())
.append("materialGuig", getMaterialGuig()) .append("materialGuig", getMaterialGuig())
.append("materialDiany", getMaterialDiany()) .append("materialDiany", getMaterialDiany())
.append("materialDw", getMaterialDw()) .append("materialDw", getMaterialDw())
.append("cMaterialCostList", getCMaterialCostList()) .append("cMaterialCostList", getCMaterialCostList())
.toString(); .toString();
} }
} }