using System; using System.Collections.Generic; namespace HTEXLib { public class BaseItem { public string code { get; set; } //[PartitionKey(name = "ExamItem")] public string pk { get; set; } public int? ttl { get; set; } public string id { get; set; } public bool objective { get; set; } public BaseItem() { // option = new List(); answer = new List(); knowledge = new List(); gradeIds = new List(); repair = new List(); } public string shaCode { get; set; } // 选项 单选 多选 判断 // public List option { get; set; } public List answer { get; set; } //解析 public string explain { get; set; } /// /// 题型 Single单选,Multiple多选,Judge判断,Complete填空,Subjective问答,Compose综合 /// public string type { get; set; } /// /// 上级shaCode /// public string pid { get; set; } //管理知识点 public List knowledge { get; set; } /// /// 標簽 /// public List tags { get; set; } = new List(); //认知层次 应用 综合 理解 评鉴 知识 public int? @field { get; set; } // 配分 public double score { get; set; } // 填空数量 public int blankCount { get; set; } /// /// 题号 /// public int order { get; set; } //补救 //public string repair { get; set; } /// /// 补救资源 /// public List repair { get; set; } public string subjectId { get; set; } public string periodId { get; set; } public List gradeIds { get; set; } /// /// 难度 /// public int level { get; set; } /// /// 是否综合题的小题 /// //public bool lite { get; set; } = false; //创建时间 public long createTime { get; set; } //创建者 public string creator { get; set; } //使用次数 public int useCount { get; set; } // public string examCode { get; set; } public string blob { get; set; } public string scope { get; set; } public int opts { get; set; } } public class CodeValue { // public Position position { get; set; } public string code { get; set; } public string value { get; set; } } public class Repair { /// /// 文件名字 /// public string name { get; set; } /// /// /// public string url { get; set; } //public int order { get; set; } /// /// 文件大小 /// //public long size { get; set; } /// /// 缩略图链接 图片视频有 文件没有 /// //public string compressUrl { get; set; } /// /// 文件类型 /// public string type { get; set; } /// /// 唯一编码 /// // public string sha1Code { get; set; } } }