|
@@ -9,12 +9,13 @@ using TEAMModelOS.SDK.Module.AzureCosmosDBV3;
|
|
|
|
|
|
namespace TEAMModelOS.Service.Models.Core
|
|
|
{
|
|
|
- [CosmosDB(RU = 400, Name = "SchoolUser")]
|
|
|
+ [CosmosDB(RU = 400, Name = "School")]
|
|
|
public class SchoolUser:ID
|
|
|
{
|
|
|
- [PartitionKey]
|
|
|
- public string schoolCode { get; set; }
|
|
|
public string id { get; set; }
|
|
|
+ public string schoolCode { get; set; }
|
|
|
+ public string schoolName { get; set; }
|
|
|
+ public string userid { get; set; }
|
|
|
public string name { get; set; }
|
|
|
public string email { get; set; }
|
|
|
public string mobile { get; set; }
|
|
@@ -29,6 +30,8 @@ namespace TEAMModelOS.Service.Models.Core
|
|
|
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 ; }
|
|
|
}
|
|
|
}
|