using System.Text.Json.Serialization; namespace Core.Models.Eft.Game; public class SurveyResponseData { [JsonPropertyName("locale")] public Dictionary> Locale { get; set; } [JsonPropertyName("survey")] public Survey Survey { get; set; } } public class Survey { [JsonPropertyName("id")] public int Id { get; set; } [JsonPropertyName("welcomePageData")] public WelcomePageData WelcomePageData { get; set; } [JsonPropertyName("farewellPageData")] public FarewellPageData FarewellPageData { get; set; } [JsonPropertyName("pages")] public List> Pages { get; set; } [JsonPropertyName("questions")] public List Questions { get; set; } [JsonPropertyName("isNew")] public bool IsNew { get; set; } } public class WelcomePageData { [JsonPropertyName("titleLocaleKey")] public string TitleLocaleKey { get; set; } [JsonPropertyName("timeLocaleKey")] public string TimeLocaleKey { get; set; } [JsonPropertyName("descriptionLocaleKey")] public string DescriptionLocaleKey { get; set; } } public class FarewellPageData { [JsonPropertyName("textLocaleKey")] public string TextLocaleKey { get; set; } } public class SurveyQuestion { [JsonPropertyName("id")] public int Id { get; set; } [JsonPropertyName("sortIndex")] public int SortIndex { get; set; } [JsonPropertyName("titleLocaleKey")] public string TitleLocaleKey { get; set; } [JsonPropertyName("hintLocaleKey")] public string HintLocaleKey { get; set; } [JsonPropertyName("answerLimit")] public int AnswerLimit { get; set; } [JsonPropertyName("answerType")] public string AnswerType { get; set; } [JsonPropertyName("answers")] public List Answers { get; set; } } public class SurveyAnswer { [JsonPropertyName("id")] public int Id { get; set; } [JsonPropertyName("questionId")] public int QuestionId { get; set; } [JsonPropertyName("sortIndex")] public int SortIndex { get; set; } [JsonPropertyName("localeKey")] public string LocaleKey { get; set; } }