zhaoxinyu 4 months ago
parent
commit
4124bd6f9f
  1. 2
      code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/MaterialRelationships/MaterialRelationship.cs

2
code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/MaterialRelationships/MaterialRelationship.cs

@ -37,6 +37,6 @@ namespace Win.Sfs.SettleAccount.MaterialRelationships
SettleMaterialCode = settlMaterialCode; SettleMaterialCode = settlMaterialCode;
} }
public MaterialRelationship(Guid id) : base(id) { } public MaterialRelationship(Guid id) : base(id) { }
public MaterialRelationship(Guid id, string erpMaterialCode, string materialDesc, string settlMaterialCode, EnumBusinessType businessType) : base(id) { ErpMaterialCode = erpMaterialCode; MaterialDesc = materialDesc; SettleMaterialCode = settlMaterialCode; BusinessType = businessType; } public MaterialRelationship(Guid id, string erpMaterialCode, string materialDesc, string settlMaterialCode, EnumBusinessType businessType) : base(id) { ErpMaterialCode = erpMaterialCode; MaterialDesc = materialDesc; SettleMaterialCode = settlMaterialCode; BusinessType = businessType; CreationTime = DateTime.Now; }
} }
} }

Loading…
Cancel
Save