2017-03-02 23:47:44 +01:00
|
|
|
|
namespace YavscLib.Billing
|
|
|
|
|
|
{
|
2017-05-05 23:37:07 +02:00
|
|
|
|
public interface IBillItem {
|
|
|
|
|
|
string Description { get; set; }
|
|
|
|
|
|
int Count { get; set; }
|
|
|
|
|
|
decimal UnitaryCost { get; set; }
|
|
|
|
|
|
string Currency { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
public interface ICommandLine : IBillItem
|
2017-03-02 23:47:44 +01:00
|
|
|
|
{
|
2017-05-05 23:37:07 +02:00
|
|
|
|
// FIXME too hard: no such generic name in any interface
|
2017-03-02 23:47:44 +01:00
|
|
|
|
long Id { get; set; }
|
2017-05-05 23:37:07 +02:00
|
|
|
|
|
|
|
|
|
|
// FIXME too far: perhaps no existing estimate
|
2017-03-02 23:47:44 +01:00
|
|
|
|
long EstimateId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
}
|
2017-05-02 13:10:23 +02:00
|
|
|
|
}
|