From 1c1761d54822e8bc89744e8e4e5c9d22db4a461d Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期二, 09 九月 2025 15:29:40 +0800 Subject: [PATCH] feat:开发 --- FlexJobApi.Core/Entities/CommonServer/Resource.cs | 19 ++++++++++--------- 1 files changed, 10 insertions(+), 9 deletions(-) diff --git a/FlexJobApi.Core/Entities/CommonServer/Resource.cs b/FlexJobApi.Core/Entities/CommonServer/Resource.cs index fa4e71e..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> /// 鎺у埗鍣ㄦ憳瑕� @@ -82,6 +78,11 @@ public bool FileUpload { get; set; } /// <summary> + /// 鏄惁鏉ヨ嚜琛ㄥ崟 + /// </summary> + public bool IsFromForm { get; set; } + + /// <summary> /// 璺敱鍖哄煙 /// </summary> public string RouteArea { get; set; } -- Gitblit v1.9.1