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.Table
{
[TableName(Name = "IESLogin")]
public class UserLogin : TableEntity
{
/////
///// UserLogin
/////
//public string PartitionKey { get; set; }
/////
///// tmdid或者校内账户 stuid-schoolid
/////
//public string RowKey { get; set; }
//public string School { get; set; }
/////
///// tmdid或者校内id
/////
//public string UserId { get; set; }
/////
///// 角色
/////
//public string Role { get; set; }
/////
///// 2022050511 yyyyMMddHH
/////
//public int Hour { get; set; }
/////
///// 20220505 yyyyMMdd
/////
//public int Day { get; set; }
/////
///// 时间戳 毫秒
/////
//public long Time{ get; set; }
}
///
/// 小时峰值统计登录信息
///
[TableName(Name = "IESLogin")]
public class HourLogin : TableEntity
{
///
/// HourLogin 继承table不需要重复命名
///
//public string PartitionKey { get; set; }
///
/// 2022050511 yyyyMMddHH 继承table不需要重复命名
///
//public string RowKey { get; set; }
///
/// 2022050512 yyyyMMddHH
///
public int Hour { get; set; }
public int Teacher { get; set; }
public int Student { get; set; }
public int TmdUser { get; set; }
}
///
/// 按天统计登录信息
///
[TableName(Name = "IESLogin")]
public class DayLogin : TableEntity
{
///
/// DayLogin 继承table不需要重复命名
///
//public string PartitionKey { get; set; }
///
/// 20220505 yyyyMMdd 继承table不需要重复命名
///
//public string RowKey { get; set; }
///
/// 20220505 yyyyMMdd
///
public int Day { get; set; }
public int Teacher { get; set; }
public int Student { get; set; }
public int TmdUser { get; set; }
}
///
/// 学校按天统计登录信息
///
[TableName(Name = "IESLogin")]
public class DayLoginSchool : TableEntity
{
///
/// DayLogin-hbcn学校编码 继承table不需要重复命名
///
//public string PartitionKey { get; set; }
///
/// 20220505 yyyyMMdd 继承table不需要重复命名
///
//public string RowKey { get; set; }
///
/// 20220505 yyyyMMdd
///
public int Day { get; set; }
public int Teacher { get; set; }
public int Student { get; set; }
public int TmdUser { get; set; }
public string School { get; set; }
}
///
/// 学校小时峰值统计登录信息
///
[TableName(Name = "IESLogin")]
public class HourLoginSchool : TableEntity
{
///
/// HourLogin-hbcn学校编码 继承table不需要重复命名
///
//public string PartitionKey { get; set; }
///
/// 2022050511 yyyyMMddHH
///
//public string RowKey { get; set; }
///
/// 20220505 yyyyMMdd
///
public int Hour { get; set; }
public int Teacher { get; set; }
public int Student { get; set; }
public int TmdUser { get; set; }
public string School { get; set; }
}
}