Initial import
This commit is contained in:
parent
0c865416ca
commit
04804b89a9
279 changed files with 12945 additions and 0 deletions
22
yavscModel/WorkFlow/Estimate.cs
Normal file
22
yavscModel/WorkFlow/Estimate.cs
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
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; }
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in a new issue