EnVisageOnline/Main-RMO/Source/EnVisage/Models/ActivityCalendarModels/ActivityExpCategoryFooterMo...

36 lines
1.5 KiB
C#

using System;
using System.Collections.Generic;
namespace EnVisage.Models
{
public class ActivityExpCategoryFooterModel
{
public Guid Id { get; set; }
public string Name { get; set; }
public decimal UomValue { get; set; }
/// <summary>Key - week ending date in milliseconds, value - capacity</summary>
public Dictionary<string, decimal> PlannedCapacityValues { get; set; }
/// <summary>Key - week ending date in milliseconds, value - capacity</summary>
public Dictionary<string, decimal> ActualCapacityValues { get; set; }
/// <summary>Key - week ending date in milliseconds, value - capacity</summary>
public Dictionary<string, decimal> NeedCapacity { get; set; }
/// <summary>Key - week ending date in milliseconds, value - capacity</summary>
public Dictionary<string, decimal> AllocatedCapacity { get; set; }
/// <summary>Contains all resources related to current EC</summary>
public Dictionary<string, ActivityResourceFooterModel> Resources { get; set; }
public ActivityExpCategoryFooterModel()
{
PlannedCapacityValues = new Dictionary<string, decimal>();
ActualCapacityValues = new Dictionary<string, decimal>();
NeedCapacity = new Dictionary<string, decimal>();
AllocatedCapacity = new Dictionary<string, decimal>();
Resources = new Dictionary<string, ActivityResourceFooterModel>();
}
}
}