Browse Source

零件关系增加创建时间

master
zhouhongjun 4 months ago
parent
commit
5b7ca8c883
  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;
}
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