refactoring: --YavscLib-- => Yavsc

This commit is contained in:
2017-05-27 16:22:58 +02:00
parent e07c06b32e
commit 2a8b078024
102 changed files with 218 additions and 211 deletions

View File

@ -0,0 +1,9 @@
namespace Yavsc
{
public interface IAccountBalance
{
long ContactCredits { get; set; }
decimal Credits { get; set; }
string UserId { get; set; }
}
}

View File

@ -0,0 +1,13 @@
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; }
}
}

View File

@ -0,0 +1,11 @@
using System.Collections.Generic;
namespace Yavsc.Billing
{
public interface IBillable {
string Description { get; set; }
List<IBillItem> GetBillItems();
long Id { get; set; }
}
}

View File

@ -0,0 +1,8 @@
namespace Yavsc.Billing
{
public interface IBillingImpacter { 
decimal Impact(decimal orgValue);
}
}

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

View File

@ -0,0 +1,17 @@
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; }
}
}