From 582011fe0778b89312a3a9f886a24d687530aad4 Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期二, 02 九月 2025 14:45:47 +0800 Subject: [PATCH] feat:开发 --- FlexJobApi.Core/Models/CommonServer/Dictionaries/Queries/GetDictionaryDataSelectQuery.cs | 27 ++++++++++++++++++++++++++- 1 files changed, 26 insertions(+), 1 deletions(-) diff --git a/FlexJobApi.Core/Models/CommonServer/Dictionaries/Queries/GetDictionaryDataSelectQuery.cs b/FlexJobApi.Core/Models/CommonServer/Dictionaries/Queries/GetDictionaryDataSelectQuery.cs index 2a9c6ae..27f58cd 100644 --- a/FlexJobApi.Core/Models/CommonServer/Dictionaries/Queries/GetDictionaryDataSelectQuery.cs +++ b/FlexJobApi.Core/Models/CommonServer/Dictionaries/Queries/GetDictionaryDataSelectQuery.cs @@ -10,7 +10,7 @@ /// <summary> /// 鏌ヨ鏁版嵁瀛楀吀閫夋嫨鍣� /// </summary> - [Resource([EnumResourceController.Dictionary], AllowAnonymous = true)] + [Resource([EnumResourceController.FlexJobServerDictionary], AllowAnonymous = true)] public class GetDictionaryDataSelectQuery : SelectQuery<string, GetDictionaryDataSelectQueryResultOption> { /// <summary> @@ -42,10 +42,20 @@ /// 鏈�澶ф繁搴� /// </summary> public int? MaxDeep { get; set; } + + /// <summary> + /// 鎼哄甫涓嬬骇 + /// </summary> + public bool? WithChildren { get; set; } } public class GetDictionaryDataSelectQueryResultOption { + public GetDictionaryDataSelectQueryResultOption() + { + + } + /// <summary> /// Id /// </summary> @@ -62,11 +72,26 @@ public string ParentCode { get; set; } /// <summary> + /// 瀛愮骇 + /// </summary> + public List<SelectOption<string, GetDictionaryDataSelectQueryResultOption>> Children { get; set; } + + /// <summary> /// 瀛楀吀璺緞 /// </summary> public string Path { get; set; } /// <summary> + /// 娣卞害 + /// </summary> + public int Deep { get; set; } + + /// <summary> + /// 鎺掑簭 + /// </summary> + public int Sort { get; set; } + + /// <summary> /// 缂栧彿 /// </summary> [MaxLength(128)] -- Gitblit v1.9.1