This commit is contained in:
mmrbnjd
2024-07-28 15:34:46 +03:30
parent 888b63dcd4
commit 5665b91aa1
7 changed files with 187 additions and 45 deletions

View File

@@ -10,6 +10,7 @@ namespace Shared.DTOs
{
public int ID { get; set; }
public string Name { get; set; }
public decimal TotalPrice { get { return promotionDetails==null ? 0 : promotionDetails.Sum(s => s.TPrice); } }
public ICollection<PromotionDetailDto> promotionDetails { get; set; }
}
}