using Newtonsoft.Json; using System.Collections.Generic; namespace DaJiaoYan.Models { public class QuestionConfig { public class EmptyScore { public int Key { get; set; } public string Label { get; set; } public float Value { get; set; } } [JsonProperty(PropertyName = "label", NullValueHandling = NullValueHandling.Ignore)] public string Label { get; set; } /// /// 系统题型,如:big_spaces, multiple_one /// [JsonProperty(PropertyName = "question_type")] public string QuestionType { get; set; } [JsonProperty(PropertyName = "show_order")] public int ShowOrder { get; set; } [JsonProperty(PropertyName = "empty_count")] public int EmptyCount { get; set; } [JsonProperty(PropertyName = "option_count")] public int OptionCount { get; set; } [JsonProperty(PropertyName = "question_score")] public float QuestionScore { get; set; } [JsonProperty(PropertyName = "empty_score")] public List EmptyScores { get; set; } [JsonProperty(PropertyName = "answer")] public List Answers { get; set; } } }