using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TEAMModelOS.SDK.Models.Cosmos.BI { public class StatsInfo : CosmosEntity { //id 学校id //pk Stats //code Stats ///code Stats-hbcn Stats-学校id Stats-学区id 暂未启用 public StatsInfo() { pk = "Stats"; code = "Stats"; } /// /// 学校头像 /// public string picture { get; set; } /// /// 学校名称 /// public string name { get; set; } /// /// 空间 /// public int size { get; set; } /// /// 教师总数 /// public int tch { get; set; } /// /// 当天新增教师 /// public int dayTch { get; set; } /// /// 本周新增教师 /// public int weekTch { get; set; } /// /// 本月新增教师 /// public int monthTch { get; set; } /// /// 学生总数 /// public int stu { get; set; } /// /// 当天新增学生 /// public int dayStu { get; set; } /// /// 本周新增学生 /// public int weekStu { get; set; } /// /// 本月新增学生 /// public int monthStu { get; set; } /// /// 教室数 /// public int room { get; set; } /// /// 智慧教室 /// public int witRoom { get; set; } /// /// 学校创建时间 /// public long scCreateTime { get; set; } /// /// 学校统计数据更新时间 /// public long upTime { get; set; } /// /// 课例活动 /// public LessonStats lesson { get; set; } = new LessonStats(); /// /// 活动 /// public ActivityStats activity { get; set; } = new ActivityStats(); /// /// 研修统计 /// public StudyStats study { get; set; } = new StudyStats(); } /// /// 课例 /// public class LessonStats { /// /// 开课数 /// public int open { get; set; } /// /// 课例 /// public int less { get; set; } /// /// 昨天的课例数 /// public int lastDay { get; set; } /// /// 今天课例 /// public int day { get; set; } /// /// 上周课例 /// public int lastWeek { get; set; } /// /// 本周课例 /// public int week { get; set; } /// /// 上学期 /// public int lastTerm { get; set; } /// /// 本学期 /// public int term { get; set; } /// /// 昨天互动次数 /// public int lastDayInter { get; set; } /// /// 今天的互动次数 /// public int dayInter { get; set; } /// /// 上个月互动 /// public int lastMonthInter { get; set; } /// /// 本月互动 /// public int monthInter { get; set; } /// /// 去年互动 /// public int lastYearInter { get; set; } /// /// 今年互动 /// public int yearInter { get; set; } //public List yearInter { get; set; } = new List(); /// /// 去年每天的数据 366天 /// public List LastYear { get; set; } = new List(); /// /// 今年每天的数据 366天 /// public List year { get; set; } = new List(); } /// /// 活动统计 /// public class ActivityStats { /// /// 所有活动总数 /// public int cnt { get; set; } /// /// 评测活动总数 /// public int exam { get; set; } /// /// 问卷调查活动总数 /// public int survey { get; set; } /// /// 投票活动 /// public int vote { get; set; } /// /// 作业活动 /// public int homework { get; set; } /// /// 昨天的活动 /// public int lastDay { get; set; } /// /// 今天的活动 /// public int dayCnt { get; set; } /// /// 上周活动 /// public int lastWeek { get; set; } /// /// 本周活动 /// public int week { get; set; } /// /// 上学期活动 /// public int lastTerm { get; set; } /// /// 本学期活动 /// public int term { get; set; } /// /// 去年活动 366个天 /// public List LastYear { get; set; } = new List(); /// /// 今年活动 366个天 /// public List year { get; set; } = new List(); } /// /// 研修统计 /// public class StudyStats { /// /// 累计学时 /// public int learnTime { get; set; } /// /// 线上研修人数 /// public int online { get; set; } /// /// 线下研修人数 /// public int offline { get; set; } /// /// 课堂实录人数 /// public int classRoom { get; set; } /// /// 认证材料人数 /// public int submit { get; set; } /// /// 未开始的研修人数 /// public int notStarted { get; set; } /// /// 经行中的研修人数 /// public int ongoing { get; set; } /// /// 完成的研修人数 /// public int finish { get; set; } } }