diff --git a/Models/GroceryPurchasedModel.cs b/Models/GroceryPurchasedModel.cs index c00be8d..e907e34 100644 --- a/Models/GroceryPurchasedModel.cs +++ b/Models/GroceryPurchasedModel.cs @@ -20,5 +20,6 @@ public class GroceryPurchasedModel : IGroceryPurchasedModel public string grocery { get; set; } public decimal quantity { get; set; } public DateTime date { get; set; } + public bool onsale { get; set; } } } diff --git a/Models/IGroceryPurchasedModel.cs b/Models/IGroceryPurchasedModel.cs index 33bb9ee..14413ed 100644 --- a/Models/IGroceryPurchasedModel.cs +++ b/Models/IGroceryPurchasedModel.cs @@ -10,5 +10,6 @@ public interface IGroceryPurchasedModel : IGroceryModel decimal totalprice { get; set; } string store { get; set; } DateTime date { get; set; } + bool onsale { get; set; } } }