using System.Collections.Generic; namespace IES.ExamServer.Models { public class EvaluationMain { /// /// 评测id /// public string? id { get; set; } /// /// 区级活动的id /// public string? pid { get; set; } /// /// 评测名称 /// public string? name { get; set; } /// /// 类型: Exam 普通评测, Art艺术评测 /// public string? type { get; set; } /// /// 源数据的发布层级 类型 区级area 校级 school 教师个人 teacher /// public string? owner { get; set; } /// /// 数据源的id /// public string? ownerId { get; set; } /// /// 数据源的名称 /// public string? ownerName { get; set; } /// /// 数据源的logo /// public string? ownerPicture { get; set; } /// /// 数据范围 /// public string? scope { get; set; } /// /// 源code /// public string? scode { get; set; } /// /// 科目 /// public List subjects { get; set; } = new List(); /// /// 活动数据包生成最新时间戳 /// public long dataTime { get; set; } public long dataSize { get; set; } /// /// 活动文件包生成最新时间戳 /// public long blobTime { get; set; } /// /// 活动文件包大小 /// public long blobSize { get; set; } /// /// 活动文件包数量 /// public long blobCount { get; set; } /// /// 活动文件包哈希值 /// public string? blobHash { get; set; } /// /// 活动文件包哈希值(上次) /// public string? blobLastHash { get; set; } /// /// 活动页面代码文件生成最新时间戳 /// public long webviewTime { get; set; } /// /// 活动页面代码文件数量 /// public long webviewCount { get; set; } /// /// 活动页面代码文件大小 /// public long webviewSize { get; set; } public string? webviewPath { get; set; } /// /// 学生数量 /// public int studentCount { get; set; } /// /// 试卷数量 /// public int paperCount { get; set; } /// /// 名单集合 /// public List grouplist { get; set; } = new List(); /// /// 名单哈希值 /// public string? grouplistHash { get; set; } /// /// 数据哈希值 /// public string? dataHash { get; set; } /// /// 开卷码 /// public string? shortCode { get; set; } } public class EvaluationClient : EvaluationMain { /// /// 开始时间 /// public long stime { get; set; } /// /// 结束时间 /// public long etime { get; set; } /// /// 临时密码 /// public string? password { get; set; } /// /// 记录地址 /// public string? recordUrl { get; set; } /// /// 激活状态0未激活,1 激活 /// public int activate { get; set; } } public class SubjectExam { public string? examId { get; set; } public string? subjectId { get; set; } public string? subjectName { get; set; } public List papers { get; set; } = new List(); } public class EvaluationExam { /// /// 评测的id /// public string? examId { get; set; } public string? examName { get; set; } /// /// 评测的id /// public string? evaluationId { get; set; } /// /// 评测的科目id /// public string? subjectId { get; set; } /// /// 评测的科目名称 /// public string? subjectName { get; set; } /// /// 评测的试卷列表 /// public List papers { get; set; } = new List(); /// /// 评测的班级列表 /// public List classes { get; set; } = new List(); public string? owner { get; set; } public string? scope { get; set; } public long stime { get; set; } public long etime { get; set; } } public class SubjectExamPaper { /// /// 试卷id /// public string? paperId { get; set; } /// /// 试卷名称 /// public string? paperName { get; set; } /// /// 试卷存储路径 /// public string? blob { get; set; } /// /// 试卷哈希值 /// public string? paperHash { get; set; } } public class EvaluationPaper: SubjectExamPaper { /// /// 配分列表 /// public List point { get; set; } = new List(); //public List> answers { get; set; } = new List>(); 不显示答案 /// /// 知识点列表 /// public List> knowledge { get; set; } = new List>(); /// /// 题型列表 /// public List type { get; set; } = new List(); /// /// 认知层次 /// public List field { get; set; } = new List(); public List blobs { get; set; } = new List(); } public class BlobHashInfo { /// /// 文件路径 /// public string? path { get; set; } /// /// 文件大小 /// public long size { get; set; } /// /// 文件哈希 /// public string? hash { get; set; } /// /// 文件最后修改时间 /// public long last { get; set; } } /// /// 操作记录 /// public class OperationRecord { /// /// 记录id /// public string? id { get; set; } /// /// 评测id /// public string? examId { get; set; } /// /// 评测名称 /// public string? examName { get; set; } /// /// 操作时间 /// public string? optTime { get; set; } /// /// 操作类型,开启重复作答,开启考前倒计时,开启作答倒计时,强制结束作答, /// public string? optType { get; set; } /// /// 操作前值 /// public string? optPerval { get; set; } /// /// 操作后值 /// public string? optAftval { get; set; } /// /// 操作用户 /// public string? optUser{ get; set; } /// /// 设备id /// public string? deviceId { get; set; } } }