send the billing code along with the query

This commit is contained in:
2018-02-07 20:04:12 +01:00
parent 9857aef89a
commit b29bc43d50
18 changed files with 47 additions and 27 deletions

View File

@ -0,0 +1,10 @@
namespace Yavsc.Models.Billing
{
public static class BillingCodes
{
public const string Rdv = "Rdv";
public const string MBrush = "MBrush";
public const string Brush = "Brush";
}
}

View File

@ -4,6 +4,7 @@ using System.Collections.Generic;
namespace Yavsc.Billing
{
public interface IBillable {
string BillingCode { get; set; }
string GetDescription ();
List<IBillItem> GetBillItems();
long Id { get; set; }

View File

@ -0,0 +1,14 @@
using System.ComponentModel.DataAnnotations;
namespace Yavsc.Models.Messaging
{
public class ClientProviderInfo
{
public string UserName { get; set; }
public string Avatar { get; set; }
public string UserId { get; set; }
public string EMail { get; set; }
public string Phone { get; set; }
public ILocation BillingAddress { get; set; }
}
}

View File

@ -1,5 +1,5 @@
CONFIG=Release
VERSION=1.0.5-rc5
VERSION=1.0.5-rc6
PRJNAME=Yavsc.Abstract
PKGFILENAME=$(PRJNAME).$(VERSION).nupkg
DESTPATH=.

View File

@ -0,0 +1,23 @@
using System;
namespace Yavsc.Models
{
using Models.Messaging;
public class RdvQueryProviderInfo
{
public ClientProviderInfo Client { get; set; }
public ILocation 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; }
public string BillingCode { get; set; }
}
}

Binary file not shown.