38 lines
984 B
C#
38 lines
984 B
C#
using System.Collections.Generic;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace BeWoPlanerMobil.Util
|
|
{
|
|
public class SupportConceptStatisticsData
|
|
{
|
|
[JsonProperty("percentage")]
|
|
public decimal Percentage { get; set; }
|
|
|
|
[JsonProperty("statisticPeriods")]
|
|
public List<StatisticPeriod> StatisticPeriods { get; set; } = new List<StatisticPeriod>();
|
|
|
|
[JsonProperty("showDiagram")]
|
|
public bool ShowDiagram { get; set; } = false;
|
|
}
|
|
|
|
public class StatisticPeriod
|
|
{
|
|
[JsonProperty("header2values")]
|
|
public List<Header2Values> Header2Values { get; set; } = new List<Header2Values>();
|
|
}
|
|
|
|
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;
|
|
}
|
|
}
|
|
} |