Student.cs 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. using static TEAMModelOS.SDK.Models.Teacher;
  6. namespace TEAMModelOS.SDK.Models
  7. {
  8. public class Student : CosmosEntity
  9. {
  10. public string mail { get; set; }
  11. public string mobile { get; set; }
  12. public string country { get; set; }
  13. public string name { get; set; }
  14. public string picture { get; set; }
  15. public string schoolId { get; set; }
  16. public string pw { get; set; }
  17. public string salt { get; set; }
  18. public int year { get; set; }
  19. //座位号
  20. public string no { get; set; } //座位号
  21. public string irs { get; set; }
  22. //绑定班级Id
  23. public string classId { get; set; }
  24. //分组信息
  25. public string groupId { get; set; }
  26. public string groupName { get; set; }
  27. public string periodId { get; set; }
  28. /// <summary>
  29. /// 性别 m( male,男) f (female 女) n(secret 保密)
  30. /// </summary>
  31. public string gender { get; set; }
  32. //补充留级信息
  33. //0在校,1留级,2退学 3毕业
  34. public int status { get; set; } = 0;
  35. /// <summary>
  36. /// 保留当天的登录信息
  37. /// </summary>
  38. public List<LoginInfo> loginInfos { get; set; } = new List<LoginInfo>();
  39. /// <summary>
  40. /// 创建时间 十位 时间戳
  41. /// </summary>
  42. public long createTime { get; set; }
  43. //public List<StudentParent> parents { get; set; }= new List<StudentParent>();
  44. }
  45. public class Guardian
  46. {
  47. //绑定信息的key(手机号,邮箱,醍摩豆id)
  48. // public List<BindKey> bindKey { get; set; } = new List<BindKey>();
  49. //姓名 姓名
  50. public string name { get; set; }
  51. //监护人:父亲,母亲,或者其他监护人
  52. public string identity { get; set; }
  53. /// <summary>
  54. /// 头像
  55. /// </summary>
  56. public string picture { get; set; }
  57. public string tmdid { get; set; }
  58. public string mobile { get; set; }
  59. public string mail { get; set; }
  60. }
  61. public class BindKey
  62. {
  63. // key(手机号,邮箱,醍摩豆id,Line,Google等信息)
  64. public string key { get; set; }
  65. public string type { get; set; }
  66. }
  67. }