using Microsoft.Table; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TEAMModelOS.SDK.Context.Attributes.Azure; namespace TEAMModelOS.SDK.Models.Cosmos.BI.BITable { /// /// BI课例数据实体 /// [TableName(Name = "BIStats")] public class LessStats: TableEntity { public LessStats() { //PartitionKey LessonYear 记录一年的数据 天 RowKey 2022 一年所有; 2022-学校编码 学校一年所有 //PartitionKey LessonHour 记录一天的数据 小时 RowKey 20220615 一天的记录; 20220615-学校编码 学校一天的记录 } /// /// Hiteach开课记录 /// public string open { get; set; } /// /// 课例记录 /// public string lesson { get; set; } /// /// 时间 当PartitionKey是LessonHour yyyyMMdd /// public string time { get; set; } /// /// 学校编号 /// public string school { get; set; } } /// /// BI活动 0 Exam评测 1 Survey问卷 2 Vote投票 3 Homework作业活动 /// [TableName(Name = "BIStats")] public class TableActivityStats : TableEntity { public TableActivityStats() { //PartitionKey LessonYear 记录一年的数据 天 RowKey 2022 一年所有; 2022-学校编码 学校一年所有 //PartitionKey LessonHour 记录一天的数据 小时 RowKey 20220615 一天的记录; 20220615-学校编码 学校一天的记录 } /// /// 评测 /// public string exam { get; set; } /// /// 问卷 /// public string survey { get; set; } /// /// 投票活动 /// public string vote { get; set; } /// /// 作业活动 /// public string homework { get; set; } /// /// 时间 /// PartitionKey是LessonHour yyyyMMdd /// PartitionKey是LessonYear yyyy /// public string time { get; set; } /// /// 学校编号 /// public string school { get; set; } } }