Teacher.cs 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. namespace TEAMModelOS.SDK.Models
  6. {
  7. public class Teacher : CosmosEntity
  8. {
  9. public string name { get; set; }
  10. public string picture { get; set; }
  11. public int size { get; set; }
  12. public string defaultSchool { get; set; }
  13. public List<TeacherSchool> schools { get; set; } = new List<TeacherSchool>();
  14. public List<TeacherArea> areas { get; set; } = new List<TeacherArea>();
  15. public List<ThirdBind> binds { get; set; } = new List<ThirdBind>();
  16. public int lessonLimit { get; set; } = 0;
  17. public class TeacherSchool
  18. {
  19. public string schoolId { get; set; }
  20. public string name { get; set; }
  21. public string status { get; set; }
  22. public long time { get; set; }
  23. public string picture { get; set; }
  24. public string areaId { get; set; }
  25. }
  26. public class TeacherArea
  27. {
  28. public string areaId { get; set; }
  29. public string name { get; set; }
  30. public string status { get; set; }
  31. }
  32. public class ThirdBind
  33. {
  34. /// <summary>
  35. /// scsyxpt 四川省研修平台
  36. /// </summary>
  37. public string type { get; set; }
  38. /// <summary>
  39. /// 用户来源
  40. /// </summary>
  41. //public string path { get; set; }
  42. public string userid { get; set; }
  43. public string username { get; set; }
  44. public string account { get; set; }
  45. // public HashSet<string> pxid { get; set; } = new HashSet<string>();
  46. public List<string> data { get; set; }= new List<string>();
  47. }
  48. }
  49. }