using System; using System.Collections.Generic; namespace EnVisage.Code.Charts { public class DoubleDonutChartData { public DonutChartData CostData { get; set; } public DonutChartData DurationData { get; set; } public decimal TotalCost { get; set; } public decimal TotalDuration { get; set; } } public class DonutChartData { public DonutChartData() { Goals = new List(); OtherGoals = new List(); OtherProjectTypes = new List(); ProjectTypes = new List(); } public decimal? TotalCost { get; set; } public decimal? TotalDuration { get; set; } public IEnumerable Goals { get; set; } public IEnumerable OtherGoals { get; set; } public IEnumerable OtherProjectTypes { get; set; } public IEnumerable ProjectTypes { get; set; } } public class DonutChartDataItem { public List TypeId { get; set; } public List PieDatas { get; set; } public string Label { get; set; } public decimal? Cost { get; set; } public decimal? Duration { get; set; } public string PresetColor { get; set; } public string GroupType { get; set; } public Guid? ProjectTypeId { get; set; } public Guid? GoalId { get; set; } public IEnumerable ChildItems { get; set; } public IEnumerable OtherChildItems { get; set; } } }