Teacher.cs 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.Text;
  5. namespace TEAMModelOS.Service.Models.Core
  6. {
  7. public class Teacher
  8. {
  9. public string id { get; set; }
  10. /// <summary>
  11. /// 0 动态id 透過第三方申請,未認證手機號,TEAMModelId暫時為virtualId但是不顯示在介面上,當使用者驗證手機號後TEAMModelId會變為手機號。
  12. /// 1 动态id 透過手機號申請,TEAMModelId為手機號
  13. /// </summary>
  14. [Required(ErrorMessage = "{0} 必须填写")]
  15. public int type { get; set; }
  16. [Required(ErrorMessage = "{0} 必须填写")]
  17. public string name { get; set; }
  18. public string email { get; set; }
  19. public string cellphone { get; set; }
  20. public string countryCode { get; set; }
  21. public int verifyFlg { get; set; }
  22. public int status { get; set; } = 0;
  23. public long createDate { get; set; }
  24. public Password password { get; set; }
  25. public string exValue { get; set; }
  26. public string product { get; set; }
  27. public List<ProductToken> productToken { get; set; }
  28. public string shortCode { get; set; }
  29. public string profilePicture { get; set; }
  30. public string profilePictureUrl { get; set; }
  31. public string TEAMModelId { get; set; }
  32. public string loginTime { get; set; }
  33. public string virtualId { get; set; }
  34. public List<Oauth> oauth { get; set; } // 0 1
  35. public string haveDevice { get; set; }//2
  36. public Classroom classroom { get; set; }
  37. public string studentId { get; set; }
  38. public int seatNo { get; set; }
  39. }
  40. }