send the billing code along with the query

This commit is contained in:
Paul Schneider 2018-02-07 20:04:12 +01:00
commit 2890e10339
18 changed files with 47 additions and 27 deletions

View file

@ -97,5 +97,10 @@ namespace Yavsc.Models.Billing
[ForeignKey("PaymentId"), Display(Name = "Acquittement de la facture")]
public virtual PayPalPayment Regularisation { get; set; }
[Required]
public string BillingCode
{
get; set;
}
}
}

View file

@ -1,16 +0,0 @@
using System.ComponentModel.DataAnnotations;
namespace Yavsc.Models.Messaging
{
using Models.Relationship;
public class ClientProviderInfo
{
public string UserName { get; set; }
public string Avatar { get; set; }
[Key]
public string UserId { get; set; }
public string EMail { get; set; }
public string Phone { get; set; }
public Location BillingAddress { get; set; }
}
}

View file

@ -1,23 +0,0 @@
using System;
namespace Yavsc.Models
{
using Models.Messaging;
using Models.Relationship;
public class RdvQueryProviderInfo
{
public ClientProviderInfo Client { get; set; }
public Location Location { get; set; }
public long Id { get; set; }
public DateTime? EventDate { get; set; }
public decimal? Previsional { get; set; }
public string Reason { get; set; }
public string ActivityCode { get; set; }
}
}