Snaparazzi/Assets/Scripts/DatabaseClasses/Question.cs

19 lines
362 B
C#
Raw Normal View History

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