using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace TEAMModelOS.SDK.Models { public class Teacher : CosmosEntity { /// /// 老師名字 /// public string name { get; set; } /// /// 头像 /// public string picture { get; set; } /// /// 存储大小 /// public int size { get; set; } /// /// 默认学校 /// public string defaultSchool { get; set; } /// /// 默认学段 /// public string defaultschoolPeriod { get; set; } /// ///加入的学校列表 /// public List schools { get; set; } = new List(); /// /// 关联区级 /// public List areas { get; set; } = new List(); public List binds { get; set; } = new List(); public int lessonLimit { get; set; } = 0; public List lessonShow { get; set; } = new List(); /// /// 创建时间 十位 时间戳 /// public long createTime { get; set; } /// /// 保留当天的登录信息 /// public List loginInfos { get; set; } = new List(); /// /// 语系 /// public string lang { get; set; } /// /// 时区 /// public double timezone { get; set; } = 8; /// /// 权限 /// public List permission { get; set; } = new List(); public class LoginInfo { /// /// 时间戳 毫秒 /// public long time { get; set; } /// /// ip地址 /// public string ip { get; set; } /// /// token到期时间 /// public long expire { get; set; } } public class TeacherSchool { /// /// 学校id /// public string schoolId { get; set; } /// /// 学校名字 /// public string name { get; set; } /// /// 加入状态 /// public string status { get; set; } /// /// 加入时间 /// public long time { get; set; } /// /// 学校logo /// public string picture { get; set; } /// /// 区域id /// public string areaId { get; set; } /// /// 角色 /// public List roles { get; set; } = new List(); } public class TeacherArea { public string areaId { get; set; } public string name { get; set; } public string status { get; set; } } public class ThirdBind { /// /// scsyxpt 四川省研修平台 /// public string type { get; set; } /// /// 用户来源 /// //public string path { get; set; } public string userid { get; set; } public string username { get; set; } public string account { get; set; } // public HashSet pxid { get; set; } = new HashSet(); public List data { get; set; } = new List(); } } }