StudentInfo.cs 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. using Newtonsoft.Json.Linq;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. using System.Text.Json;
  6. using TEAMModelOS.SDK.Context.Attributes.Azure;
  7. namespace TEAMModelOS.Model.BaseInfo.Models
  8. {
  9. public class StudentInfo
  10. {
  11. public JObject studentInfo_ { get; set; }
  12. public Utf8JsonWriter json { get; set; }
  13. public StudentInfo()
  14. {
  15. json.WriteString("aaa","");
  16. studentInfo_ = new JObject() { new JProperty("id",null)};
  17. studentInfo_ = new JObject() { new JProperty("name", null) };
  18. studentInfo_ = new JObject() { new JProperty("email", null) };
  19. studentInfo_ = new JObject() { new JProperty("cellphone", null) };
  20. studentInfo_ = new JObject() { new JProperty("countryCode", null) };
  21. studentInfo_ = new JObject() { new JProperty("verifyFlg", false) };
  22. studentInfo_ = new JObject() { new JProperty("status", 1) };
  23. studentInfo_ = new JObject() { new JProperty("createDate", null) };
  24. studentInfo_ = new JObject() { new JProperty("password", null) };
  25. studentInfo_ = new JObject() { new JProperty("exValue", null) };
  26. studentInfo_ = new JObject() { new JProperty("oauth", null) };
  27. studentInfo_ = new JObject() { new JProperty("product", null) };
  28. studentInfo_ = new JObject() { new JProperty("haveDevice", null) };
  29. studentInfo_ = new JObject() { new JProperty("schoolCode", null) };
  30. studentInfo_ = new JObject() { new JProperty("profilePicture", null) };
  31. studentInfo_ = new JObject() { new JProperty("TEAMModelId", null) };
  32. studentInfo_ = new JObject() { new JProperty("loginTime", null) };
  33. studentInfo_ = new JObject() { new JProperty("virtualId", null) };
  34. studentInfo_ = new JObject() { new JProperty("productToken", null) };
  35. }
  36. public string id { get; set; }
  37. public string name { get; set; }
  38. public string email { get; set; }
  39. public string cellphone { get; set; }
  40. public string countryCode { get; set; }
  41. public string verifyFlg { get; set; }
  42. public string status { get; set; }
  43. public string createDate { get; set; }
  44. public Password password { get; set; }
  45. public string exValue { get; set; }
  46. // public string oauth { get; set; }
  47. public string product { get;set;}
  48. public string haveDevice { get; set; }
  49. [PartitionKey]
  50. public string schoolCode { get; set; }
  51. // public string shortCode { get; set; }
  52. public string profilePicture { get; set; }
  53. public string profilePictureUrl { get; set; }
  54. public string TEAMModelId { get; set; }
  55. public string loginTime { get; set; }
  56. public string virtualId { get; set; }
  57. // public List<ProductToken> productToken { get; set; }
  58. }
  59. }
  60. public class Password {
  61. public string value { get; set; }
  62. public bool isSet { get; set; }
  63. public bool isReset { get; set; }
  64. }
  65. //public class ProductToken
  66. //{
  67. // public string station { get; set; }
  68. // public string url { get; set; }
  69. // public string licenseStatus { get; set; }
  70. // public string exp { get; set; }
  71. // public string memberId { get; set; }
  72. //}