CrazyIter_Bin 3 lat temu
rodzic
commit
7f0295e488

+ 1 - 1
TEAMModelOS.SDK/Models/Cosmos/School/SchoolTeacher.cs

@@ -11,7 +11,7 @@ namespace TEAMModelOS.SDK.Models
         public string picture { get; set; }
         public string picture { get; set; }
         public int size { get; set; }
         public int size { get; set; }
         public string job { get; set; }
         public string job { get; set; }
-        public List<string> roles { get; set; }
+        public List<string> roles { get; set; } = new List<string>();
         public List<string> permissions { get; set; }
         public List<string> permissions { get; set; }
         public string status { get; set; }
         public string status { get; set; }
         public long createTime { get; set; }
         public long createTime { get; set; }