/// <summary> /// Constructor for items creates the basic info off the back of items /// </summary> /// <param name="budgetPeriod"></param> /// <param name="item"></param> public BudgetPeriodItem(BudgetPeriod budgetPeriod, BudgetItem item) { this.BudgetPeriod = budgetPeriod; this.Item = item; this.Value = item.DefaultValue; this.Type = item.Type; }
public virtual void AddPeriod(BudgetPeriod period) { Periods.Add(period); }