From b4943813a032976e0febdd7f22d8bcf084e331c5 Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期四, 07 八月 2025 14:47:36 +0800
Subject: [PATCH] feat:字典开发

---
 FlexJobApi.Core/Models/Main/Dictionaries/Queries/GetDictionaryDatasQuery.cs |   24 ++++++++++++++++++++----
 1 files changed, 20 insertions(+), 4 deletions(-)

diff --git a/FlexJobApi.Core/Models/Main/Dictionaries/Queries/GetDictionaryDatasQuery.cs b/FlexJobApi.Core/Models/Main/Dictionaries/Queries/GetDictionaryDatasQuery.cs
index 4006dc4..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>
         /// 鍏抽敭瀛�
@@ -41,9 +47,14 @@
         public Guid CategoryId { get; set; }
 
         /// <summary>
-        /// 绫诲埆
+        /// 绫诲埆缂栧彿
         /// </summary>
-        public GetDictionaryDatasQueryResultItemCategory Category { get; set; }
+        public string CategoryCode { get; set; }
+
+        /// <summary>
+        /// 绫诲埆鍚嶇О
+        /// </summary>
+        public string CategoryName { get; set; }
 
         /// <summary>
         /// 涓婄骇Id
@@ -104,6 +115,11 @@
     public class GetDictionaryDatasQueryResultItemCategory
     {
         /// <summary>
+        /// 绫诲埆缂栧彿
+        /// </summary>
+        public string Code { get; set; }
+
+        /// <summary>
         /// 鍚嶇О
         /// </summary>
         public string Name { get; set; }

--
Gitblit v1.9.1