Browse Source

初始化

CrazyIter_Bin 3 years ago
parent
commit
7f0295e488
1 changed files with 1 additions and 1 deletions
  1. 1 1
      TEAMModelOS.SDK/Models/Cosmos/School/SchoolTeacher.cs

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

@@ -11,7 +11,7 @@ namespace TEAMModelOS.SDK.Models
         public string picture { get; set; }
         public int size { 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 string status { get; set; }
         public long createTime { get; set; }