using Newtonsoft.Json; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; using TEAMModelOS.SDK.Context.Attributes.Azure; namespace TEAMModelOS.SDK.Models { /// /// 试卷信息 /// public class Paper : CosmosEntity { public Paper() { pk = "Paper"; //item = new List(); scoring = new List(); } /// /// 试卷的基本信息 /// public string blob { get; set; } /// /*/// 题目信息 /// public List item { get; set; }*/ /// /// 科目 /// public string subjectId { get; set; } public string subjectName { get; set; } /// /// 学段 /// public string periodId { get; set; } /// /// 年级 /// public List gradeIds { get; set; } /// /// 试卷名称 /// public string name { get; set; } /// /// 引用次数 /// public int useCount { get; set; } /// /* /// 题目难度 /// public double level { get; set; }*/ /// /// 总分 /// public double score { get; set; } public string scope { get; set; } public int multipleRule { get; set; } public string sheet { get; set; } public string sheetNo { get; set; } //记录试卷大小 public long? size { get; set; } = 0; /// /// type:{ /// pointkey:[num1,num2....] /// } /// 题型的分数占比 /// /* public Dictionary typeScore { get; set; } /// /// 题目难度分数占比 /// public Dictionary levelScore { get; set; } /// /// 知识点分数占比 /// public Dictionary pointScore { get; set; }*/ /// /// 创建时间 /// public long createTime { get; set; } /* /// /// 正确答案 /// public List answers { get; set; }*/ /// /// 阅卷规则 /// public List scoring { get; set; } /// /* /// 题目集合 /// public List itemids { get; set; }*/ /// ///试卷标签 /// public List tags { get; set; } = new List(); } /// /// 阅卷规则 /// public class MarkConfig { /// /// 作答 /// public List ans { get; set; } /// /// 题目类型 /// public string type { get; set; } /// /// 多选漏选指定得分 /// public double? score { get; set; } = 0; } /* public class ScoreItem { public ScoreItem() { item = new List(); } public double score { get; set; } public List item { get; set; } } public class ScoreCount{ public double score { get; set; } public int count { get; set; } }*/ }