From c914975bffe90f808a05dba2c53d4a750e8403c0 Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期三, 06 八月 2025 18:17:08 +0800 Subject: [PATCH] feat:企业开发 --- FlexJobApi.Core/Models/Main/Dictionaries/Queries/GetDictionaryDatasQuery.cs | 36 ++++++++++++++++++++++++++++++++++-- 1 files changed, 34 insertions(+), 2 deletions(-) diff --git a/FlexJobApi.Core/Models/Main/Dictionaries/Queries/GetDictionaryDatasQuery.cs b/FlexJobApi.Core/Models/Main/Dictionaries/Queries/GetDictionaryDatasQuery.cs index 24345b6..5b3c518 100644 --- a/FlexJobApi.Core/Models/Main/Dictionaries/Queries/GetDictionaryDatasQuery.cs +++ b/FlexJobApi.Core/Models/Main/Dictionaries/Queries/GetDictionaryDatasQuery.cs @@ -1,4 +1,5 @@ -锘縰sing MediatR; +锘縰sing Mapster; +using MediatR; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; @@ -15,9 +16,14 @@ public class GetDictionaryDatasQuery : PagedListQuery<PagedListQueryResult<GetDictionaryDatasQueryResultItem>, GetDictionaryDatasQueryResultItem> { /// <summary> - /// 绫诲埆Id + /// 绫诲埆Id锛圛d/缂栧彿浜岄�変竴锛� /// </summary> public Guid? CategoryId { get; set; } + + /// <summary> + /// 绫诲埆缂栧彿锛圛d/缂栧彿浜岄�変竴锛� + /// </summary> + public string CategoryCode { get; set; } /// <summary> /// 鍏抽敭瀛� @@ -39,6 +45,16 @@ /// 绫诲埆Id /// </summary> public Guid CategoryId { get; set; } + + /// <summary> + /// 绫诲埆缂栧彿 + /// </summary> + public string CategoryCode { get; set; } + + /// <summary> + /// 绫诲埆鍚嶇О + /// </summary> + public string CategoryName { get; set; } /// <summary> /// 涓婄骇Id @@ -92,4 +108,20 @@ /// </summary> public bool IsDisabled { get; set; } } + + /// <summary> + /// 鑾峰彇鏁版嵁瀛楀吀鍒嗛〉鍒楄〃鏁版嵁-缁撴灉-琛屾暟鎹�-绫诲埆 + /// </summary> + public class GetDictionaryDatasQueryResultItemCategory + { + /// <summary> + /// 绫诲埆缂栧彿 + /// </summary> + public string Code { get; set; } + + /// <summary> + /// 鍚嶇О + /// </summary> + public string Name { get; set; } + } } -- Gitblit v1.9.1