being an abstract class, I add a Type property, show at Json

serialization (thought it could have been done automaticaly)
This commit is contained in:
Paul Schneider
2014-10-10 15:49:46 +02:00
parent 1638d9747b
commit 83ac08cfd4

View File

@ -32,6 +32,8 @@ namespace SalesCatalog.Model
public Period CommandValidityDates { get; set; }
public abstract string[] GetSalesConditions();
public virtual string Type { get { return GetType().Name; }
}
}
}