From 423abcb9d7af20b0d18a49cc4f13167f4b64107f Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期四, 11 九月 2025 14:19:00 +0800
Subject: [PATCH] feat:开发

---
 FlexJobApi.Core/Entities/CommonServer/Resource.cs |   24 +++++++++++++++---------
 1 files changed, 15 insertions(+), 9 deletions(-)

diff --git a/FlexJobApi.Core/Entities/CommonServer/Resource.cs b/FlexJobApi.Core/Entities/CommonServer/Resource.cs
index e5d201a..037c3cb 100644
--- a/FlexJobApi.Core/Entities/CommonServer/Resource.cs
+++ b/FlexJobApi.Core/Entities/CommonServer/Resource.cs
@@ -1,4 +1,5 @@
-锘縰sing Furion.FriendlyException;
+锘縰sing Furion.DatabaseAccessor;
+using Furion.FriendlyException;
 using System;
 using System.Collections.Generic;
 using System.ComponentModel.DataAnnotations;
@@ -12,7 +13,7 @@
     /// <summary>
     /// 璧勬簮
     /// </summary>
-    public class Resource : CommonEntity, IDbAuditLogIgnore, IPhysicalDeletion
+    public class Resource : CommonEntity<MasterDbContextLocator, SyncTargetDbContextLocator>, IDbAuditLogIgnore, IPhysicalDeletion
     {
         /// <summary>
         /// 搴旂敤鍚嶇О
@@ -25,19 +26,14 @@
         public string DynamicAssemblyName { get; set; }
 
         /// <summary>
-        /// 鏈嶅姟
-        /// </summary>
-        public EnumResourceService Service { get; set; }
-
-        /// <summary>
         /// 鏈嶅姟鍚嶇О
         /// </summary>
         public string ServiceName { get; set; }
 
         /// <summary>
-        /// 鎺у埗鍣�
+        /// 鎺у埗鍣ㄥ悕绉�
         /// </summary>
-        public EnumResourceController Controller { get; set; }
+        public string ControllerName { get; set; }
 
         /// <summary>
         /// 鎺у埗鍣ㄦ憳瑕�
@@ -77,6 +73,16 @@
         public EnumResourceMethod Method { get; set; }
 
         /// <summary>
+        /// 鏂囦欢涓婁紶
+        /// </summary>
+        public bool FileUpload { get; set; }
+
+        /// <summary>
+        /// 鏄惁鏉ヨ嚜琛ㄥ崟
+        /// </summary>
+        public bool IsFromForm { get; set; }
+
+        /// <summary>
         /// 璺敱鍖哄煙
         /// </summary>
         public string RouteArea { get; set; }

--
Gitblit v1.9.1