Jason 1 ano atrás
pai
commit
aef3cd082d
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      src/Hotline/Settings/SystemOrganize.cs

+ 2 - 1
src/Hotline/Settings/SystemOrganize.cs

@@ -74,7 +74,8 @@ public class SystemOrganize : CreationSoftDeleteEntity
 
     public void InitOrgLevel() => Level = Id.CalcOrgLevel();
 
-    public string OrgTypeText() => OrgType.GetDescription();
+    [SugarColumn(IsIgnore = true)]
+    public string OrgTypeText => OrgType.GetDescription();
 }
 
 public static class OrgExtensions