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 2022-hbcn 年份-学校id
//pk Statistics
//code Statistics
///code Stats-hbcn Stats-学校id Stats-学区id 暂未启用
public StatsInfo()
{
pk = "Statistics";
code = "Statistics";
}
public string schoolId { get; set; }
public int year { get; set; }
///
/// 学校头像
///
public string picture { get; set; }
///
/// 学校名称
///
public string name { get; set; }
///
/// 学区id
///
public string areaId { get; set; }
///
/// 空间
///
public int size { get; set; }
///
/// 已使用空间
///
public long useSize { get; set; }
///
/// 教师总数
///
public int tch { get; set; }
///
/// 当天新增教师
///
public int dayTch { get; set; }
///
/// 本周新增教师
///
public int weekTch { get; set; }
///
/// 本月新增教师
///
public int monthTch { get; set; }
///
/// 教师每年每天新增数量
///
public List tchYear { get; set; } = new double[366].ToList();
///
/// 教师更新时间
///
public long tchUpTime { get; set; }
///
/// 学生总数
///
public int stu { get; set; }
///
/// 当天新增学生
///
public int dayStu { get; set; }
///
/// 本周新增学生
///
public int weekStu { get; set; }
///
/// 本月新增学生
///
public int monthStu { get; set; }
///
/// 学生每年每天新增数量
///
public List stuYear { get; set; } = new double[366].ToList();
///
/// 学生信息更新时间
///
public long stuUpTime { get; set; }
///
/// 教室数
///
public int room { get; set; }
///
/// 智慧教室
///
public int witRoom { get; set; }
///
/// 资源数量
///
public int resourceCnt { 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 string city { get; set; }
///
/// 区/县/郡
///
public string dist { get; set; }
}
///
/// 课例
///
public class LessonStats
{
///
/// 所有课例
///
public int all { get; set; }
///
/// 开课数
///
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 month { get; set; }
///
/// 上月
///
public int lastMonth { get; set; }
///
/// 所有互动
///
public int allInter { 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 yearInters { get; set; } = new double[366].ToList();
///
/// 去年每天的数据 366天
///
//public List LastYear { get; set; } = new double[366].ToList();
///
/// 今年每天的数据 366天
///
public List year { get; set; } = new double[366].ToList();
///
/// 更新数据时间
///
public long upTime { get; set; }
}
///
/// 活动统计
///
public class ActivityStats
{
///
/// 所有活动总数
///
public int all { 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 lastMonth { get; set; }
///
/// 本月活动
///
public int month { get; set; }
///
/// 本学期活动
///
public int term { get; set; }
///
/// 去年活动 366个天
///
//public List LastYear { get; set; } = new double[366].ToList();
///
/// 今年活动 366个天
///
public List year { get; set; } = new double[366].ToList();
///
/// 活动更新数据时间
///
public long upTime { get; set; }
}
///
/// 研修统计
///
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; }
///
/// 研修更新数据时间
///
public long upTime { get; set; }
}
///
/// 文件使用情况
///
public class FileSize
{
public string name { get; set; }
public string socre { get; set; }
}
///
/// 课例统计(读取)
///
public class LessRelStats
{
public string id { get; set; }
public string code { get; set; }
public long startTime { get; set; }
///
/// 学生互动总数
///
public int clientInteractionCount { get; set; } = 0;
};
///
/// 活动统计 (读取)
///
public class ArtRelStats
{
public string id { get; set; }
public string code { get; set; }
public long createTime { get; set; }
}
}