瀏覽代碼

新增数据权限表

Dun.Jason 2 年之前
父節點
當前提交
32d5bd566f
共有 2 個文件被更改,包括 27 次插入2 次删除
  1. 2 2
      src/Hotline/Settings/SystemDataAuthority.cs
  2. 25 0
      src/Hotline/Settings/SystemDataTable.cs

+ 2 - 2
src/Hotline/Settings/SystemDataAuthority.cs

@@ -24,9 +24,9 @@ namespace Hotline.Settings
         public EAuthorityType AuthorityType { get; set; }
 
         /// <summary>
-        /// 功能点code
+        /// 数据表Id
         /// </summary>
-        public string PermissionCode { get; set; }
+        public string TableId { get; set; }
 
 
     }

+ 25 - 0
src/Hotline/Settings/SystemDataTable.cs

@@ -0,0 +1,25 @@
+
+using System.ComponentModel;
+using XF.Domain.Entities;
+
+namespace Hotline.Settings
+{
+    [Description("数据权限 表")]
+    public class SystemDataTable: CreationEntity
+    {
+        /// <summary>
+        /// 别名
+        /// </summary>
+        public string DisplayName { get; set; }
+
+        /// <summary>
+        /// 表名
+        /// </summary>
+        public string TableName { get; set; }
+
+        /// <summary>
+        /// 实体名
+        /// </summary>
+        public string EntityName { get; set; }
+    }
+}