CrazyIter 5 år sedan
förälder
incheckning
16fb645570
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2 0
      TEAMModelOS.Service/Models/Core/Teacher.cs

+ 2 - 0
TEAMModelOS.Service/Models/Core/Teacher.cs

@@ -2,6 +2,7 @@
 using System.Collections.Generic;
 using System.ComponentModel.DataAnnotations;
 using System.Text;
+using TEAMModelOS.SDK.Context.Attributes.Azure;
 
 namespace TEAMModelOS.Service.Models.Core
 {
@@ -18,6 +19,7 @@ namespace TEAMModelOS.Service.Models.Core
         public string name { get; set; }
         public string email { get; set; }
         public string cellphone { get; set; }
+        [PartitionKey]
         public string countryCode { get; set; }
         public int verifyFlg { get; set; }
         public int status { get; set; } = 0;