Teacher.cs 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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 List<string> lessonShow { get; set; } = new List<string>();
  18. public class TeacherSchool
  19. {
  20. public string schoolId { get; set; }
  21. public string name { get; set; }
  22. public string status { get; set; }
  23. public long time { get; set; }
  24. public string picture { get; set; }
  25. public string areaId { get; set; }
  26. }
  27. public class TeacherArea
  28. {
  29. public string areaId { get; set; }
  30. public string name { get; set; }
  31. public string status { get; set; }
  32. }
  33. public class ThirdBind
  34. {
  35. /// <summary>
  36. /// scsyxpt 四川省研修平台
  37. /// </summary>
  38. public string type { get; set; }
  39. /// <summary>
  40. /// 用户来源
  41. /// </summary>
  42. //public string path { get; set; }
  43. public string userid { get; set; }
  44. public string username { get; set; }
  45. public string account { get; set; }
  46. // public HashSet<string> pxid { get; set; } = new HashSet<string>();
  47. public List<string> data { get; set; }= new List<string>();
  48. }
  49. }
  50. }