les commandes nominatives ont un identifiant de paiment

This commit is contained in:
2017-05-19 23:35:36 +02:00
parent 189c84ec42
commit 0aa9ac202b
3 changed files with 7 additions and 0 deletions

View File

@ -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; }
}
}

View File

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

View File

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