12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- 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
- {
- /// <summary>
- /// BI课例数据实体
- /// </summary>
- [TableName(Name = "BIStats")]
- public class LessStats: TableEntity
- {
- public LessStats()
- {
- //PartitionKey LessonYear 记录一年的数据 天 RowKey 2022 一年所有; 2022-学校编码 学校一年所有
- //PartitionKey LessonHour 记录一天的数据 小时 RowKey 20220615 一天的记录; 20220615-学校编码 学校一天的记录
- }
- /// <summary>
- /// Hiteach开课记录
- /// </summary>
- public string open { get; set; }
- /// <summary>
- /// 课例记录
- /// </summary>
- public string lesson { get; set; }
- /// <summary>
- /// 时间 当PartitionKey是LessonHour yyyyMMdd
- /// </summary>
- public string time { get; set; }
- /// <summary>
- /// 学校编号
- /// </summary>
- public string school { get; set; }
- }
- /// <summary>
- /// BI活动 0 Exam评测 1 Survey问卷 2 Vote投票 3 Homework作业活动
- /// </summary>
- [TableName(Name = "BIStats")]
- public class TableActivityStats : TableEntity
- {
- public TableActivityStats()
- {
- //PartitionKey LessonYear 记录一年的数据 天 RowKey 2022 一年所有; 2022-学校编码 学校一年所有
- //PartitionKey LessonHour 记录一天的数据 小时 RowKey 20220615 一天的记录; 20220615-学校编码 学校一天的记录
- }
- /// <summary>
- /// 评测
- /// </summary>
- public string exam { get; set; }
- /// <summary>
- /// 问卷
- /// </summary>
- public string survey { get; set; }
- /// <summary>
- /// 投票活动
- /// </summary>
- public string vote { get; set; }
- /// <summary>
- /// 作业活动
- /// </summary>
- public string homework { get; set; }
- /// <summary>
- /// 时间
- /// PartitionKey是LessonHour yyyyMMdd
- /// PartitionKey是LessonYear yyyy
- /// </summary>
- public string time { get; set; }
- /// <summary>
- /// 学校编号
- /// </summary>
- public string school { get; set; }
- }
- }
|