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

vnext
Paul Schneider 8 years ago
parent e81995aaf5
commit 1af6883c60
1 changed files with 13 additions and 0 deletions

@ -9,6 +9,19 @@ namespace Yavsc.Models.Market {
[ForeignKey("ContextId")] [ForeignKey("ContextId")]
public virtual Activity Context { get; set; } 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; } public List<IBillingClause> Billing { get; set; }
} }

Loading…