EnVisageOnline/Main-RMO/Source/EnVisage/Models/ActivityCalendarModels/ActivityResourceFooterModel.cs

23 lines
852 B
C#

using System;
using System.Collections.Generic;
namespace EnVisage.Models
{
public class ActivityResourceFooterModel
{
public Guid Id { get; set; }
public string Name { get; set; }
/// <summary>Contains total allocated resource capacity between active scenarios for certain week ending (key in milliseconds).</summary>
public Dictionary<string, decimal> AllocatedCapacity { get; set; }
/// <summary>Contains total available resource capacity for certain week ending (key in milliseconds). Takes from EC UoM value.</summary>
public Dictionary<string, decimal> TotalCapacity { get; set; }
public ActivityResourceFooterModel()
{
AllocatedCapacity = new Dictionary<string, decimal>();
TotalCapacity = new Dictionary<string, decimal>();
}
}
}