using System; using System.Collections.Generic; using System.Text; using System.Text.Json; namespace TEAMModelOS.SDK.Models { /// /// 课堂记录简要信息。 /// public class LessonRecord : CosmosEntity { /// ///必填 教师醍摩豆id /// public string tmdid { get; set; } /// /// 教师醍摩豆id名称 /// public string tmdname { get; set; } /// /// 教师醍摩豆id名称 /// public string tmdpicture { get; set; } /// ///必填 课堂名称 /// public string name { get; set; } /// ///必填 scope==school必填 | string | 学校id /// public string school { get; set; } /// ///必填 private/school| /// public string scope { get; set; } /// ///必填 视频封面地址 /// // public string poster { get; set; } /// ///必填 开始时间(时间戳) 1606393763434 /// public long startTime { get; set; } /// ///必填 上课时长,最后更新 /// public double duration { get; set; } /// ///选填 t分,科技应用 ,最后更新 /// public int tScore { get; set; } /// ///选填 p分,教法应用 ,最后更新 /// public int pScore { get; set; } /// ///选填 选用IES5的课程id /// public string courseId { get; set; } /// ///选填 选用IES5固定名单的id /// public List groupIds { get; set; } = new List(); public List groupNames { get; set; } = new List(); /// ///选填 学生人数 ,最后更新 /// public int mCount { get; set; } /// ///选填 议课次数,大于1则是优课,苏格拉底获取 /// public int discuss { get; set; } /// ///选填 科技互动次数, /// public int techCount { get; set; } /// /// 学 不填 段id,由课程或者名单获取 /// public string periodId { get; set; } /// /// 不填 科目id,由课程id获取 /// public string subjectId { get; set; } /// /// 不填 年级id,由名单id获取 /// public List grade { get; set; } = new List(); /// /// 不填 收藏次数,IES5更新 /// public int favorite { get; set; } /// /// 不填 点赞数 /// public int like { get; set; } /// /// 不填 分享转发数 /// public int share { get; set; } /// /// 不填 ["混合学习","语文教研"]课例类别,tag标签,IES5维护 /// public List category { get; set; } = new List(); /// /// 0 是否包含视频,1包含视频 /// public int hasVideo { get; set; } //public long videoSize { get; set; } /// /// /// 科技互动详细次数。[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49] /// public List tech { get; set; } = new List(); public int status { get; set; } = 0; /// /// 专家好课,默认0, 1 是好课 /// public int excellent { get; set; } = 0; /// /// 出席人数 /// public int attendCount { get; set; } = 0; /// /// 总人数 /// public int clientCount { get; set; } = 0; /// ///出席率 /// public double attendRate { get; set; } = 0; /// /// 小组数 /// public int groupCount { get; set; } = 0; /// /// 任务总数,作品收集任务数 /// public int collateTaskCount { get; set; } = 0; /// /// 作品总数 /// public int collateCount { get; set; } = 0; /// /// 推送总数(页面,资源,讯息,差异化) /// public int pushCount { get; set; } = 0; /// /// 总计分 /// public double totalPoint { get; set; } = 0; /// /// 测验总题数 /// public int examQuizCount { get; set; } = 0; /// /// 互动题数 /// public int interactionCount { get; set; } = 0; /// /// 测验得分率 /// public double examPointRate { get; set; } = 0; /// /// 学生互动总数 /// public int clientInteractionCount { get; set; } = 0; /// /// 学生互动率 /// public double clientInteractionAverge { get; set; } = 0; public int examCount { get; set; } /// /// 总互动分 /// public double totalInteractPoint { get; set; } = 0; /// /// 过期时间,-1永不过期, 1577808000000 2020-01-01 /// public long expire { get; set; } = -1; /// /// 先使用这种模式,["all","student"], 暂不 开放 school【开放给部分学校查看】,teacher【开放给部分教师查看】 ["all","school","teacher","student"] /// public List show { get; set; } = new List(); /// /// 暂不 开放 school【开放给部分学校查看】学校编码 /// public List showSchs { get; set; } = new List(); /// /// 暂不 开放 teacher【开放给部分教师查看】醍摩豆id /// public List showTchs { get; set; } = new List(); /// /// 设置强制保留的 =1 ,不会被自动清理的。但是可以被手动清理。 /// public int save { get; set; } = -1; /// /// 默认未上传 /// public int upload { get; set; } } public class LessonTC { public string t { get; set; } public double c { get; set; } } public class LessonUpdate { public string grant_type { get; set; } public object data { get; set; } } /// /// 课堂记录更新前后差值 /// public class LessonDis { /// /// 开课数量差 /// public int record { get; set; } = 0; /// /// T分数量差 /// public int disTCount { get; set; } = 0; /// /// P分数量差 /// public int disPCount { get; set; } = 0; /// /// 双绿灯数量差 /// public int disDCount { get; set; } = 0; } /// /// /{_lessonId}/IES/TimeLine.json 课堂记录基础信息 /// public class LessonBase{ /// /// /// public Summary summary { get; set; } /// /// /// public Report report { get; set; } /// /// /// public List teacheract { get; set; } /// /// /// public List student { get; set; } } public class Summary { /// /// 测试新版名单222-罗老师 小课堂 /// public string activityName { get; set; } /// /// 罗老师 /// public string hostName { get; set; } /// /// 全客观题 /// public string meterialName { get; set; } /// /// /// public string date { get; set; } /// /// /// public string startTime { get; set; } /// /// /// public string endTime { get; set; } /// /// 出席人数 /// public int attendCount { get; set; } = 0; /// /// 总人数 /// public int clientCount { get; set; } = 0; /// ///出席率 /// public double attendRate { get; set; } = 0; /// /// 小组数 /// public int groupCount { get; set; } = 0; /// /// 任务总数,作品收集任务数 /// public int collateTaskCount { get; set; } = 0; public double totalInteractPoint { get; set; } = 0; /// /// 作品总数 /// public int collateCount { get; set; } = 0; /// /// 推送总数(页面,资源,讯息,差异化) /// public int pushCount { get; set; } = 0; /// /// 总计分 /// public double totalPoint { get; set; } = 0; /// /// 测验总题数 /// public int examQuizCount { get; set; } = 0; /// /// 互动题数 /// public int interactionCount { get; set; } = 0; /// /// 测验得分率 /// public double examPointRate { get; set; } = 0; /// /// 学生互动总数 /// public int clientInteractionCount { get; set; } = 0; /// /// 学生互动率 /// public double clientInteractionAverge { get; set; } = 0; public int examCount { get; set; } } public class QuizSummaryList { /// /// /// public string quizID { get; set; } /// /// /// public string pageOrderStr { get; set; } /// /// /// public string score { get; set; } /// /// /// public string correctAnswer { get; set; } /// /// /// public string correctRateStr { get; set; } } public class ClientSummaryList { /// /// /// public string groupName { get; set; } /// /// /// public double groupScore { get; set; } /// /// /// public int groupTaskCompleteCount { get; set; } /// /// /// //public double attendState { get; set; } /// /// /// public double score { get; set; } /// /// /// public int taskCompleteCount { get; set; } /// /// /// public List examScoreList { get; set; } /// /// /// public double interactScore { get; set; } /// /// /// public List answerList { get; set; } /// /// /// public int seatID { get; set; } /// /// 李镇希 /// public string name { get; set; } } public class Report { /// /// /// public List quizSummaryList { get; set; } /// /// /// public List clientSummaryList { get; set; } } public class StudentItem { /// /// 学生id /// public string id { get; set; } /// /// 座号 /// public int seatID { get; set; } /// /// 李镇希 /// public string name { get; set; } /// /// 学生类型 /// public int type { get; set; } /// /// 头像 /// public string picture { get; set; } } //public class LessonActivityInfo //{ // /// // /// 时间点 // /// // public List count { get; set; } = new List(); // /// // /// 事件类型 // /// // public string @event { get; set; } // /// // /// 页面id // /// // public string pgId { get; set; } //} //public class LessonStudent //{ // public string id { get; set; } // public string name { get; set; } // public string type { get; set; } // public string code { get; set; } // public string picture { get; set; } // public string irs { get; set; } //} //public class LessonTimeLine //{ // /// // /// 时间点 // /// // public double time { get; set; } // /// // /// 事件类型 // /// // public string @event { get; set; } // /// // /// 页面id // /// // public string pgId { get; set; } //} }