using Newtonsoft.Json; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; using System.Text.Json.Serialization; using TEAMModelOS.SDK.Context.Attributes.Azure; using TEAMModelOS.SDK.Module.AzureCosmosDBV3; namespace TEAMModelOS.Service.Models.Core { [CosmosDB(RU = 400, Name = "School")] public class SchoolUser:ID { public string id { get; set; } public string schoolCode { get; set; } public string schoolName { get; set; } public string name { get; set; } public string email { get; set; } public string mobile { get; set; } public string country { get; set; } public string jobTitle { get; set; } public string picture { get; set; } public List role { get; set; } public List authority { get; set; } public int joinStatus { get; set; } = 0; public bool loginFlg { get; set; } public long lastLoginDate { get; set; } = 0; public long crtDate { get; set; } = 0; public long remindDate { get; set; } = 0; public long joinDate { get; set; } = 0; [PartitionKey] public string code { get; set; } public int? ttl { get; set ; } } }