diff --git a/SalesCatalog/Model/Product.cs b/SalesCatalog/Model/Product.cs index 10f1b356..4f7cda8b 100644 --- a/SalesCatalog/Model/Product.cs +++ b/SalesCatalog/Model/Product.cs @@ -32,6 +32,8 @@ namespace SalesCatalog.Model public Period CommandValidityDates { get; set; } public abstract string[] GetSalesConditions(); + public virtual string Type { get { return GetType().Name; } + } } }