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