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 class LoginInfo { /// /// 时间戳 毫秒 /// public long time { get; set; } /// /// ip地址 /// public string ip { get; set; } /// /// token到期时间 /// public long expire { get; set; } } public class TeacherSchool { public string schoolId { get; set; } public string name { get; set; } public string status { get; set; } public long time { get; set; } public string picture { get; set; } public string areaId { get; set; } } 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(); } } }