|
@@ -8,17 +8,56 @@ namespace TEAMModelOS.Service.Models.Core
|
|
|
{
|
|
|
public class Student
|
|
|
{
|
|
|
- [JsonProperty(PropertyName = "id")]
|
|
|
public string id { get; set; }
|
|
|
- public string studentId { get; set; }
|
|
|
- // public string Password { get; set; }
|
|
|
- public string password { get; set; }
|
|
|
+ /// <summary>
|
|
|
+ /// 0 动态id 透過第三方申請,未認證手機號,TEAMModelId暫時為virtualId但是不顯示在介面上,當使用者驗證手機號後TEAMModelId會變為手機號。
|
|
|
+ /// 1 动态id 透過手機號申請,TEAMModelId為手機號
|
|
|
+ /// 2 學生ID,透過學校建立,TEAMModelId格式為 {學校簡碼}#{學號}
|
|
|
+ /// </summary>
|
|
|
+ public int type { get; set; }
|
|
|
public string name { get; set; }
|
|
|
- public int seatNo { get; set; }
|
|
|
- public string classroomCode { get; set; }
|
|
|
- public string gradeCode { get; set; }
|
|
|
- public string periodCode { get; set; }
|
|
|
+ public string email { get; set; }
|
|
|
+ public string cellphone { get; set; }
|
|
|
+ public string countryCode { get; set; }
|
|
|
+ public string verifyFlg { get; set; }
|
|
|
+ public string status { get; set; }
|
|
|
+ public string createDate { get; set; }
|
|
|
+ public string studentId { get; set; }
|
|
|
+ public Password password { get; set; }
|
|
|
+ public string exValue { get; set; }
|
|
|
+ public string product { get; set; }
|
|
|
+ public List<ProductToken> productToken { get; set; }
|
|
|
+ /// <summary>
|
|
|
+ /// 0 1 dynamic 1学校id
|
|
|
+ /// </summary>
|
|
|
[PartitionKey]
|
|
|
- public string schoolCode { get; set; }
|
|
|
+ public string schoolCode { get; set; } ///
|
|
|
+ public string shortCode { get; set; }
|
|
|
+ public string profilePicture { get; set; }
|
|
|
+ public string profilePictureUrl { get; set; }
|
|
|
+ public string TEAMModelId { get; set; }
|
|
|
+ public string loginTime { get; set; }
|
|
|
+ public string virtualId { get; set; }
|
|
|
+ public List<Oauth> oauth { get; set; } // 0 1
|
|
|
+ public string haveDevice { get; set; }//2
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
+public class Password {
|
|
|
+ public string value { get; set; }
|
|
|
+ public bool isSet { get; set; }
|
|
|
+ public bool isReset { get; set; }
|
|
|
+}
|
|
|
+public class ProductToken
|
|
|
+{
|
|
|
+ public string station { get; set; }
|
|
|
+ public string url { get; set; }
|
|
|
+ public string licenseStatus { get; set; }
|
|
|
+ public int exp { get; set; }
|
|
|
+ public string memberId { get; set; }
|
|
|
+}
|
|
|
+public class Oauth
|
|
|
+{
|
|
|
+ public string provider { get; set; }
|
|
|
+ public string openId { get; set; }
|
|
|
+}
|