19 lines
362 B
C#
Raw Normal View History

2024-01-27 20:05:24 +01:00
using Newtonsoft.Json;
2024-01-28 16:13:25 +01:00
using Newtonsoft.Json.Linq;
2024-01-27 10:19:32 +01:00
using System;
2024-01-27 22:55:04 +01:00
using System.Collections.Generic;
2024-01-27 10:19:32 +01:00
2024-01-27 19:58:02 +01:00
[Serializable]
2024-01-27 20:05:24 +01:00
[JsonObject]
2024-01-27 10:19:32 +01:00
public class Question
{
public int index;
2024-01-27 10:19:32 +01:00
public string promptId;
2024-01-28 16:13:25 +01:00
[JsonConverter(typeof(ArrayToDictionaryConverter<Proposition>))]
2024-01-28 15:42:32 +01:00
public Dictionary<int, Proposition> propositions;
2024-01-28 16:13:25 +01:00
2024-01-27 22:55:04 +01:00
public double creationDate;
2024-01-27 10:19:32 +01:00
}
2024-01-28 16:13:25 +01:00