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 List schools { get; set; } = new List(); public List areas { get; set; } = new List(); public List binds { get; set; } = new List(); public List ddbinds { get; set; } = new List(); 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 source { get; set; } public string userid { get; set; } public HashSet pxid { get; set; } = new HashSet(); } public class DingDingBind { /// /// 绑定类型 ddteammodel /// public string type { get; set; } /// /// 用户来源 /// public string loginid { get; set; } /// /// 钉钉ID /// public string userid { get; set; } /// /// 钉钉用户名 /// public string userName { get; set; } /// /// 钉钉手机号 /// public string Mobile { get; set; } /// /// 邮箱 /// public string email { get; set; } public HashSet sourceid { get; set; } = new HashSet(); } } }