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

@ -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;
@ -47,6 +50,15 @@ public class CMaterial extends BaseEntity
{ {
return materialId; return materialId;
} }
public Long getMaterialTypeId() {
return materialTypeId;
}
public void setMaterialTypeId(Long materialTypeId) {
this.materialTypeId = materialTypeId;
}
public void setMaterialXingh(String materialXingh) public void setMaterialXingh(String materialXingh)
{ {
this.materialXingh = materialXingh; this.materialXingh = materialXingh;
@ -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();
} }
} }