using System.Collections.Generic; using Newtonsoft.Json; namespace BeWoPlanerMobil.Util { public class SupportConceptStatisticsData { [JsonProperty("percentage")] public decimal Percentage { get; set; } [JsonProperty("statisticPeriods")] public List StatisticPeriods { get; set; } = new List(); [JsonProperty("showDiagram")] public bool ShowDiagram { get; set; } = false; } public class StatisticPeriod { [JsonProperty("header2values")] public List Header2Values { get; set; } = new List(); } public struct Header2Values { [JsonProperty("header")] public string Header { get; set; } [JsonProperty("value")] public string Value { get; set; } public Header2Values(string header, string value) { Header = header; Value = value; } } }