les commandes nominatives ont un identifiant de paiment
This commit is contained in:
@ -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; }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user