|
@@ -4,6 +4,7 @@ using System.ComponentModel;
|
|
|
using XF.Domain.Entities;
|
|
|
using XF.Domain.Exceptions;
|
|
|
using XF.Domain.Repository;
|
|
|
+using XF.Utility.EnumExtensions;
|
|
|
|
|
|
namespace Hotline.Settings;
|
|
|
|
|
@@ -31,6 +32,9 @@ public class SystemOrganize : CreationEntity
|
|
|
/// </summary>
|
|
|
public EOrgType OrgType { get; set; }
|
|
|
|
|
|
+ [SugarColumn(IsIgnore = true)]
|
|
|
+ public string OrgTypeText => OrgType.GetDescription();
|
|
|
+
|
|
|
/// <summary>
|
|
|
/// 上级ID
|
|
|
/// </summary>
|