|
@@ -7,28 +7,23 @@ namespace HTEXLib
|
|
|
{
|
|
|
public class ExamItem
|
|
|
{
|
|
|
- public Position position { get; set; }
|
|
|
+ // public Position position { get; set; }
|
|
|
|
|
|
- [Required(ErrorMessage = "{0} 必须填写")]
|
|
|
- public string code { get; set; }
|
|
|
+ //[Required(ErrorMessage = "{0} 必须填写")]
|
|
|
+ // public string code { get; set; }
|
|
|
//[PartitionKey(name = "ExamItem")]
|
|
|
- public string pk { get; set; }
|
|
|
- public int? ttl { get; set; }
|
|
|
+ //public string pk { get; set; }
|
|
|
+ // public int? ttl { get; set; }
|
|
|
public ExamItem()
|
|
|
{
|
|
|
- children = new List<ExamItem>();
|
|
|
- option = new List<CodeValue>();
|
|
|
+ children = new List<string>();
|
|
|
answer = new List<string>();
|
|
|
points = new List<string>();
|
|
|
gradeIds = new List<string>();
|
|
|
- repairs = new List<Repair>();
|
|
|
+ repairResource = new List<Repair>();
|
|
|
}
|
|
|
- public string shaCode { get; set; }
|
|
|
- //题干
|
|
|
- [Required(ErrorMessage = "{0} 必须填写")]
|
|
|
- public string question { get; set; }
|
|
|
- // 选项 单选 多选 判断
|
|
|
- public List<CodeValue> option { get; set; }
|
|
|
+ ///public string shaCode { get; set; }
|
|
|
+
|
|
|
public List<string> answer { get; set; }
|
|
|
//解析
|
|
|
public string explain { get; set; }
|
|
@@ -39,12 +34,12 @@ namespace HTEXLib
|
|
|
/// <summary>
|
|
|
/// 上级shaCode
|
|
|
/// </summary>
|
|
|
- public string pShaCode { get; set; }
|
|
|
+ // public string pShaCode { get; set; }
|
|
|
//管理知识点
|
|
|
public List<string> points { get; set; }
|
|
|
//认知层次 应用 综合 理解 评鉴 知识
|
|
|
public int? field { get; set; }
|
|
|
- public List<ExamItem> children { get; set; }
|
|
|
+ public List<string> children { get; set; }
|
|
|
// 配分
|
|
|
public double score { get; set; }
|
|
|
/// <summary>
|
|
@@ -57,7 +52,7 @@ namespace HTEXLib
|
|
|
/// <summary>
|
|
|
/// 补救资源
|
|
|
/// </summary>
|
|
|
- public List<Repair> repairs { get; set; }
|
|
|
+ public List<Repair> repairResource { get; set; }
|
|
|
|
|
|
public string subjectId { get; set; }
|
|
|
public string periodId { get; set; }
|
|
@@ -67,7 +62,7 @@ namespace HTEXLib
|
|
|
/// 难度
|
|
|
/// </summary>
|
|
|
public int level { get; set; }
|
|
|
- public string id { get; set; }
|
|
|
+ /// public string id { get; set; }
|
|
|
/// <summary>
|
|
|
/// 是否综合题的小题
|
|
|
/// </summary>
|
|
@@ -80,7 +75,10 @@ namespace HTEXLib
|
|
|
//使用次数
|
|
|
public int usageCount { get; set; }
|
|
|
public string examCode { get; set; }
|
|
|
- public string url { get; set; }
|
|
|
+ public string blob { get; set; }
|
|
|
+ /// <summary>
|
|
|
+ /// 校本school还是私有题目private
|
|
|
+ /// </summary>
|
|
|
public string scope { get; set; }
|
|
|
}
|
|
|
public class CodeValue
|