UserData.cs 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. namespace SC.XR.Unity.Module_PlatformAccount
  2. {
  3. /// <summary>
  4. /// 登录用户数据,令牌信息等
  5. /// </summary>
  6. public class UserData
  7. {
  8. /// <summary>
  9. /// 登录id认证
  10. /// </summary>
  11. public string unionId = "";
  12. /// <summary>
  13. /// 账号登录后获取的令牌
  14. /// </summary>
  15. public string token = "";
  16. /// <summary>
  17. /// 用户编号
  18. /// </summary>
  19. public string uNumber = "";
  20. /// <summary>
  21. /// 头像
  22. /// </summary>
  23. public string avatar = "";
  24. /// <summary>
  25. /// 昵称
  26. /// </summary>
  27. public string nickName = "";
  28. /// <summary>
  29. /// 名字
  30. /// </summary>
  31. public string name = "";
  32. /// <summary>
  33. /// 性别
  34. /// </summary>
  35. public int gender = 0;
  36. /// <summary>
  37. /// 手机号
  38. /// </summary>
  39. public string phone = "";
  40. /// <summary>
  41. /// 邮箱
  42. /// </summary>
  43. public string email = "";
  44. /// <summary>
  45. /// 身份证号
  46. /// </summary>
  47. public string identityNum = "";
  48. /// <summary>
  49. /// 地址
  50. /// </summary>
  51. public string address = "";
  52. /// <summary>
  53. /// 生日
  54. /// </summary>
  55. public string birthday = "";
  56. /// <summary>
  57. /// 国家
  58. /// </summary>
  59. public string country = "";
  60. /// <summary>
  61. /// 省
  62. /// </summary>
  63. public string province = "";
  64. /// <summary>
  65. /// 城市
  66. /// </summary>
  67. public string city = "";
  68. /// <summary>
  69. /// 区域号码
  70. /// </summary>
  71. public string diallingCode = "";
  72. /// <summary>
  73. /// 语言
  74. /// </summary>
  75. public string language = "";
  76. /// <summary>
  77. /// 代币
  78. /// </summary>
  79. public double totalBalance = 0;
  80. /// <summary>
  81. /// VIP
  82. /// </summary>
  83. public bool vip = false;
  84. /// <summary>
  85. /// 有密码
  86. /// </summary>
  87. public bool havePassword = true;
  88. /// <summary>
  89. /// 平台Token
  90. /// </summary>
  91. public string platformToken = "";
  92. }
  93. }