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:
parent
1638d9747b
commit
83ac08cfd4
1 changed files with 2 additions and 0 deletions
|
|
@ -32,6 +32,8 @@ namespace SalesCatalog.Model
|
|||
public Period CommandValidityDates { get; set; }
|
||||
public abstract string[] GetSalesConditions();
|
||||
|
||||
public virtual string Type { get { return GetType().Name; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue