yavsc/yavscModel/WorkFlow/Estimate.cs

22 lines
348 B
C#
Raw Normal View History

2014-07-16 20:35:03 +02:00
using System;
namespace yavscModel.WorkFlow
{
public class Estimate
{
public Estimate ()
{
}
public string Description { get; set; }
public decimal Ciffer {
get {
decimal total = 0;
foreach (Writting l in Lines)
total += l.UnitaryCost * l.Count;
return total;
}
}
public Writting[] Lines { get; set; }
}
}