/// <summary> /// Constuctor for budget items off standard item types. /// adds the name and type off the standard item all /// we need to worry about is the value /// </summary> /// <param name="standardItem"></param> public BudgetItem(ClientBudget budget, BudgetStandardItem standardItem, decimal defaultvalue, string name, ItemType type) { this.Budget = budget; this.StandardItem = standardItem; this.Type = type; this.Name = name; this.DefaultValue = defaultvalue; this.Active = true; }
public BudgetPeriod(ClientBudget budget) { this.items = new List <BudgetPeriodItem>(); this.Budget = budget; this.Locked = false; }
public BudgetItem(ClientBudget budget, ItemType type) { this.Budget = budget; this.Type = type; DefaultValue = 0; }