2024-01-27 19:05:24 +00:00
|
|
|
using Newtonsoft.Json;
|
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
|
|
|
|
{
|
2024-01-28 10:46:24 +00:00
|
|
|
public string id;
|
2024-01-27 09:19:32 +00:00
|
|
|
public string promptId;
|
2024-01-27 21:55:04 +00:00
|
|
|
public Dictionary<string, Proposition> propositions;
|
|
|
|
public double creationDate;
|
2024-01-28 10:56:16 +00:00
|
|
|
|
|
|
|
public Proposition GetFirstProposition()
|
|
|
|
{
|
|
|
|
return propositions["0"];
|
|
|
|
}
|
|
|
|
public Proposition GetSecondProposition()
|
|
|
|
{
|
|
|
|
return propositions["1"];
|
|
|
|
}
|
2024-01-27 09:19:32 +00:00
|
|
|
}
|
2024-01-28 10:56:16 +00:00
|
|
|
|