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 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(); } public class DingDingBind { /// /// 绑定类型 ddteammodel /// public string type { get; set; } /// /// 所属部门id列表 /// public List deptIdList { get; set; } /// /// 职位名称 /// public string title { get; set; } /// /// 钉钉用户名 /// public string name { get; set; } /// /// 钉钉unionid /// public string unionid { get; set; } /// /// 钉钉ID /// public string userid { get; set; } } } }