Student.cs 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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 Student : CosmosEntity
  8. {
  9. public string mail { get; set; }
  10. public string mobile { get; set; }
  11. public string country { get; set; }
  12. public string name { get; set; }
  13. public string picture { get; set; }
  14. public string schoolId { get; set; }
  15. public string pw { get; set; }
  16. public string salt { get; set; }
  17. public int year { get; set; }
  18. //座位号
  19. public string no { get; set; } //座位号
  20. public string irs { get; set; }
  21. //绑定班级Id
  22. public string classId { get; set; }
  23. //分组信息
  24. public string groupId { get; set; }
  25. public string groupName { get; set; }
  26. public string periodId { get; set; }
  27. /// <summary>
  28. /// 性别 m( male,男) f (female 女) n(secret 保密)
  29. /// </summary>
  30. public string gender { get; set; }
  31. //补充留级信息
  32. //0在校,1留级,2退学 3毕业
  33. public int status { get; set; } = 0;
  34. //public List<StudentParent> parents { get; set; }= new List<StudentParent>();
  35. }
  36. public class StudentParent {
  37. //绑定信息的key(手机号,邮箱,醍摩豆id)
  38. public List<BindKey> bindKey { get; set; } = new List<BindKey>();
  39. //姓名 姓名
  40. public string name { get; set; }
  41. //监护人:父亲,母亲,或者其他监护人
  42. public string identity { get; set; }
  43. /// <summary>
  44. /// 头像
  45. /// </summary>
  46. public string picture { get; set; }
  47. }
  48. public class BindKey {
  49. // key(手机号,邮箱,醍摩豆id,Line,Google等信息)
  50. public string key { get; set; }
  51. public string type { get; set; }
  52. }
  53. }