| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- 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; }
- /// <summary>
- /// 系统题型,如:big_spaces, multiple_one
- /// </summary>
- [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<EmptyScore> EmptyScores { get; set; }
- [JsonProperty(PropertyName = "answer")]
- public List<string> Answers { get; set; }
- }
- }
|