using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace HTEXLib.Models { public class Question :Item { public new string type = "Html"; //题干 [Required(ErrorMessage = "{0} 必须填写")] public string question { get; set; } // 选项 单选 多选 判断 public List option { get; set; } /// /// 选项布局 grid 网格布局 或 row 行布局 /// public string layout { get; set; } public HTEXLib.Models.HTEX.ShapeStyle style { get; set; } = new Models.HTEX.ShapeStyle(); } }