files tree made better.
This commit is contained in:
parent
ffbf032480
commit
ccc91bbf19
1630 changed files with 18209 additions and 41860 deletions
10
src/Yavsc.Abstract/Billing/BillingCodes.cs
Normal file
10
src/Yavsc.Abstract/Billing/BillingCodes.cs
Normal 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";
|
||||
}
|
||||
}
|
||||
9
src/Yavsc.Abstract/Billing/IAccountBalance.cs
Normal file
9
src/Yavsc.Abstract/Billing/IAccountBalance.cs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
namespace Yavsc
|
||||
{
|
||||
public interface IAccountBalance
|
||||
{
|
||||
long ContactCredits { get; set; }
|
||||
decimal Credits { get; set; }
|
||||
string UserId { get; set; }
|
||||
}
|
||||
}
|
||||
14
src/Yavsc.Abstract/Billing/IBillItem.cs
Normal file
14
src/Yavsc.Abstract/Billing/IBillItem.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
namespace Yavsc.Billing
|
||||
{
|
||||
public interface IBillItem {
|
||||
|
||||
string Name { get; set; }
|
||||
string Description { get; set; }
|
||||
int Count { get; set; }
|
||||
decimal UnitaryCost { get; set; }
|
||||
string Currency { get; set; }
|
||||
|
||||
string Reference { get; }
|
||||
|
||||
}
|
||||
}
|
||||
28
src/Yavsc.Abstract/Billing/IBillable.cs
Normal file
28
src/Yavsc.Abstract/Billing/IBillable.cs
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Yavsc.Services;
|
||||
|
||||
namespace Yavsc.Billing
|
||||
{
|
||||
public interface IBillable {
|
||||
string Description { get; }
|
||||
List<IBillItem> GetBillItems();
|
||||
long Id { get; set; }
|
||||
|
||||
string ActivityCode { get; set; }
|
||||
|
||||
string PerformerId { get; set; }
|
||||
string ClientId { get; set; }
|
||||
/// <summary>
|
||||
/// Date de validation de la demande par le client
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
|
||||
DateTime? ValidationDate { get; }
|
||||
|
||||
bool GetIsAcquitted ();
|
||||
|
||||
string GetFileBaseName (IBillingService service);
|
||||
|
||||
}
|
||||
}
|
||||
8
src/Yavsc.Abstract/Billing/IBillingImpacter.cs
Normal file
8
src/Yavsc.Abstract/Billing/IBillingImpacter.cs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
|
||||
namespace Yavsc.Billing
|
||||
{
|
||||
public interface IBillingImpacter {
|
||||
decimal Impact(decimal orgValue);
|
||||
|
||||
}
|
||||
}
|
||||
13
src/Yavsc.Abstract/Billing/ICommandLine.cs
Normal file
13
src/Yavsc.Abstract/Billing/ICommandLine.cs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
|
||||
namespace Yavsc.Billing
|
||||
{
|
||||
|
||||
public interface ICommandLine : IBillItem
|
||||
{
|
||||
// FIXME too hard: no such generic name in any interface
|
||||
long Id { get; set; }
|
||||
|
||||
// FIXME too far: perhaps no existing estimate
|
||||
long EstimateId { get; set; }
|
||||
}
|
||||
}
|
||||
18
src/Yavsc.Abstract/Billing/IEstimate.cs
Normal file
18
src/Yavsc.Abstract/Billing/IEstimate.cs
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
namespace Yavsc
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
|
||||
public interface IEstimate
|
||||
{
|
||||
List<string> AttachedFiles { get; set; }
|
||||
List<string> AttachedGraphics { get; }
|
||||
string ClientId { get; set; }
|
||||
long? CommandId { get; set; }
|
||||
string CommandType { get; set; }
|
||||
string Description { get; set; }
|
||||
long Id { get; set; }
|
||||
string OwnerId { get; set; }
|
||||
string Title { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue