using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Text; using System.Text.Json; using TEAMModelOS.SDK.Context.Attributes.Azure; namespace TEAMModelOS.Model.BaseInfo.Models { public class StudentInfo { public JObject studentInfo_ { get; set; } public Utf8JsonWriter json { get; set; } public StudentInfo() { json.WriteString("aaa",""); studentInfo_ = new JObject() { new JProperty("id",null)}; studentInfo_ = new JObject() { new JProperty("name", null) }; studentInfo_ = new JObject() { new JProperty("email", null) }; studentInfo_ = new JObject() { new JProperty("cellphone", null) }; studentInfo_ = new JObject() { new JProperty("countryCode", null) }; studentInfo_ = new JObject() { new JProperty("verifyFlg", false) }; studentInfo_ = new JObject() { new JProperty("status", 1) }; studentInfo_ = new JObject() { new JProperty("createDate", null) }; studentInfo_ = new JObject() { new JProperty("password", null) }; studentInfo_ = new JObject() { new JProperty("exValue", null) }; studentInfo_ = new JObject() { new JProperty("oauth", null) }; studentInfo_ = new JObject() { new JProperty("product", null) }; studentInfo_ = new JObject() { new JProperty("haveDevice", null) }; studentInfo_ = new JObject() { new JProperty("schoolCode", null) }; studentInfo_ = new JObject() { new JProperty("profilePicture", null) }; studentInfo_ = new JObject() { new JProperty("TEAMModelId", null) }; studentInfo_ = new JObject() { new JProperty("loginTime", null) }; studentInfo_ = new JObject() { new JProperty("virtualId", null) }; studentInfo_ = new JObject() { new JProperty("productToken", null) }; } public string id { get; set; } public string name { 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 Password password { get; set; } public string exValue { get; set; } // public string oauth { get; set; } public string product { get;set;} public string haveDevice { get; set; } [PartitionKey] 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 productToken { get; set; } } } 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 string exp { get; set; } // public string memberId { get; set; } //}