Billing clauses still are too virtual to be mapped in db (no default implementation yet)

This commit is contained in:
2016-09-01 18:42:12 +02:00
parent e81995aaf5
commit 1af6883c60

View File

@ -9,6 +9,19 @@ namespace Yavsc.Models.Market {
[ForeignKey("ContextId")]
public virtual Activity Context { get; set; }
/// <summary>
/// List of billing clause,
/// associated to this service,
/// that defines the transformation rules
/// to take in account during the transformation
/// of a corresponding prestation to an amount to pay.
/// This property is built at constructing a new instance
/// and is not mapped in database.
/// For the moment, it's hard coded only.
/// </summary>
/// <returns></returns>
[NotMapped]
public List<IBillingClause> Billing { get; set; }
}