making pay, & refactoring
This commit is contained in:
parent
8b5e50626e
commit
3e6ac9aba7
34 changed files with 602 additions and 215 deletions
|
|
@ -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; }
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue