making pay, & refactoring

This commit is contained in:
Paul Schneider 2017-05-05 23:37:07 +02:00
commit 3e6ac9aba7
34 changed files with 602 additions and 215 deletions

View file

@ -1,11 +1,18 @@
namespace YavscLib.Billing
{
public interface ICommandLine
public interface IBillItem {
string Description { get; set; }
int Count { get; set; }
decimal UnitaryCost { get; set; }
string Currency { get; set; }
}
public interface ICommandLine : IBillItem
{
// FIXME too hard: no such generic name in any interface
long Id { get; set; }
string Description { get; set; }
int Count { get; set; }
decimal UnitaryCost { get; set; }
// FIXME too far: perhaps no existing estimate
long EstimateId { get; set; }
}