From 5454e326a76e695ba4a51d5994c88ef7ded76efc Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期四, 21 八月 2025 13:24:10 +0800 Subject: [PATCH] feat:开发 --- FlexJobApi.Core/Models/CommonServer/Dictionaries/Queries/GetDictionaryDataSelectQuery.cs | 37 ++++++++++++++++++++++++++++++++++++- 1 files changed, 36 insertions(+), 1 deletions(-) diff --git a/FlexJobApi.Core/Models/CommonServer/Dictionaries/Queries/GetDictionaryDataSelectQuery.cs b/FlexJobApi.Core/Models/CommonServer/Dictionaries/Queries/GetDictionaryDataSelectQuery.cs index b496e48..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,21 +42,56 @@ /// 鏈�澶ф繁搴� /// </summary> public int? MaxDeep { get; set; } + + /// <summary> + /// 鎼哄甫涓嬬骇 + /// </summary> + public bool? WithChildren { get; set; } } public class GetDictionaryDataSelectQueryResultOption { + public GetDictionaryDataSelectQueryResultOption() + { + + } + /// <summary> /// Id /// </summary> public Guid Id { get; set; } /// <summary> + /// 涓婄骇Id + /// </summary> + public Guid? ParentId { get; set; } + + /// <summary> + /// 涓婄骇缂栧彿 + /// </summary> + 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