les commandes nominatives ont un identifiant de paiment

main
Paul Schneider 9 years ago
parent 189c84ec42
commit 0aa9ac202b
3 changed files with 7 additions and 0 deletions

@ -7,6 +7,7 @@ namespace Yavsc.Models.Billing
{
using Newtonsoft.Json;
using Workflow;
using Yavsc.Models.Payment;
using YavscLib;
using YavscLib.Billing;
using YavscLib.Workflow;
@ -75,5 +76,9 @@ namespace Yavsc.Models.Billing
public virtual Activity Context  { get; set ; }
public abstract System.Collections.Generic.List<IBillItem> GetBillItems();
public string PaymentId { get; set; }
[ForeignKey("PaymentId"), Display(Name = "Acquittement de la facture")]
public virtual PaypalPayment Regularisation { get; set; }
}
}

@ -5,6 +5,7 @@ namespace YavscLib.Billing
public interface IBillable {
string Description { get; set; }
List<IBillItem> GetBillItems();
long Id { get; set; }
}
}

@ -6,5 +6,6 @@ namespace YavscLib.Workflow
public interface IQuery: IBaseTrackedEntity, IBillable
{
QueryStatus Status { get; set; }
string PaymentId { get; set; }
}
}

Loading…