using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace TEAMModelOS.SDK.Models.Cosmos { public class VirtueImport : CosmosEntity { /// /// id:根据名称不重复的前台生成UUID, /// code:VirtueImport-hbcn /// pk:VirtueImport /// 评测名称 /// public string name { get; set; } /// /// 评测类型 期末,期中,季考,月考,周考,测验,练习,作业,日常,课中 /// public string type { get; set; } /// /// 学校id /// public string school { get; set; } /// /// 考试时间 /// public long time { get; set; } /// /// 学年 /// public int year { get; set; } /// /// 学期 /// public string semesterId { get; set; } /// /// 学段 /// public string periodId { get; set; } /// /// 班级id /// public string classId { get;set; } /// /// 学生成绩 /// public List students { get; set; } = new List(); } /// /// 德育,体育,劳动教育类似需要评价指标的导入模板。 /// public class QuotaImport :CosmosEntity{ /// /// id:根据名称不重复的前台生成UUID, /// code:QuotaImport-hbcn /// pk:QuotaImport /// 评测名称 /// public string name { get; set; } /// /// 评测类型 期末,期中,季考,月考,周考,测验,练习,作业,日常,课中 /// public string type { get; set; } /// /// 学校id /// public string school { get; set; } /// /// 考试时间 /// public long time { get; set; } /// /// 学年 /// public int year { get; set; } /// /// 学期 /// public string semesterId { get; set; } /// /// 学段 /// public string periodId { get; set; } /// /// 班级id /// public string classId { get; set; } /// /// 学生成绩 /// public List students { get; set; } = new List(); public IdName subject { get; set; } = new IdName(); public string dimension { get; set; } } /// /// 双向细目表导入 /// public class ExamImport : CosmosEntity { /// /// id:根据名称不重复的前台生成UUID, /// code:ExamImport-hbcn /// pk:ExamImport /// 评测名称 /// public string name { get; set; } /// /// 评测类型 期末,期中,季考,月考,周考,测验,练习,作业,日常,课中 /// public string type { get; set; } /// /// 学校id /// public string school { get; set; } /// /// 考试时间 /// public long time { get; set; } /// /// 学年 /// public int year { get; set; } /// /// 学期 /// public string semesterId { get; set; } /// /// 学段 /// public string periodId { get; set; } /// /// 科目 /// public List subjects { get; set; }= new List(); } /// /// 科目 /// public class ExamImportSubject { /// /// 科目id /// public string id { get; set; } /// /// 科目名称 /// public string name { get; set; } public List point = new List(); /// /// 配分 /// public List items { get; set; }= new List(); /// /// 学生成绩 /// public List students { get; set; }= new List (); } public class ResultImportStudent { /// /// 学生id /// public string id { get; set; } /// /// 姓名 /// public string name { get; set; } /// /// 班级id /// public string classId { get; set; } /// /// 总分 /// public double score { get; set; } /// /// 小题得分,下标0顺序开始 第一题....N /// public List scores { get; set; } public List items { get; set; } /// /// 日常考核类型,需要将考核时间碎片化,如德育。 /// public long time { get; set; } public string date { get; set; } //学生入学年 public int stuYear { get; set; } } public class ItemVlaue { /// /// 细项名称 /// public string code { get; set; } /// /// 细项分数 /// public double value { get; set; } } /// /// 配分 /// public class ExamImportItem { /// /// 从数组下标0开始 /// public int index { get; set; } /// /// 认知层次 /// public string filed { get; set; } /// /// 知识点 /// public HashSet point { get; set; } = new HashSet(); //compose--综合题,single--单选题,multiple--多选题,judge--判断题,complete--填空题,subjective--问答题,connector--连线题,correct--改错题 public string type { get; set; } /// /// 配分总分 /// public double score { get; set; } } /// /// 双向细目表 前端导入结构 /// public class ImportExam { [Required(ErrorMessage = "name_Required")] public string name { get; set; } [Required(ErrorMessage = "time_Required")] public string time { get; set; } [Required(ErrorMessage = "type_Required")] public string type { get; set; } [Required(ErrorMessage = "periodId_Required")] public string periodId { get; set; } [Required(ErrorMessage = "school_Required")] public string school { get; set; } public List subjects { get; set; } = new List(); } /// /// 科目信息,前端导入结构 /// public class ImportExamSubject { public string subject { get; set; } public List items { get; set; } = new List(); public List students { get; set; } = new List(); } public class ImportResultStudent { /// /// 学生id /// public string id { get; set; } /// /// 姓名 /// public string name { get; set; } /// /// 班级id /// public string classId { get; set; } /// /// 总分 /// public double score { get; set; } /// /// 小题得分,下标0顺序开始 第一题....N /// public List scores { get; set; } /// /// 德育细项 /// public List items { get; set; } /// /// 日常考核类型,需要将考核时间碎片化,如德育。 /// public string time { get; set; } } /// /// 配分 /// public class ImportExamItem { /// /// 从数组下标0开始 /// public int index { get; set; } /// /// 认知层次 /// public string filed { get; set; } /// /// 知识点 /// public string point { get; set; } //compose--综合题,single--单选题,multiple--多选题,judge--判断题,complete--填空题,subjective--问答题,connector--连线题,correct--改错题 public string type { get; set; } /// /// 配分总分 /// public double score { get; set; } } }