From 59833ddbf47ed028462e1b089b46bf7c6f7518e3 Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期二, 05 八月 2025 18:31:38 +0800
Subject: [PATCH] feat:字典开发

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

diff --git a/FlexJobApi.Core/Models/Main/Dictionaries/Queries/GetDictionaryDatasQuery.cs b/FlexJobApi.Core/Models/Main/Dictionaries/Queries/GetDictionaryDatasQuery.cs
index f157ece..0f82192 100644
--- a/FlexJobApi.Core/Models/Main/Dictionaries/Queries/GetDictionaryDatasQuery.cs
+++ b/FlexJobApi.Core/Models/Main/Dictionaries/Queries/GetDictionaryDatasQuery.cs
@@ -1,6 +1,7 @@
 锘縰sing MediatR;
 using System;
 using System.Collections.Generic;
+using System.ComponentModel.DataAnnotations;
 using System.Linq;
 using System.Text;
 using System.Threading.Tasks;
@@ -13,6 +14,15 @@
     [Resource([EnumResourceController.Dictionary])]
     public class GetDictionaryDatasQuery : PagedListQuery<PagedListQueryResult<GetDictionaryDatasQueryResultItem>, GetDictionaryDatasQueryResultItem> , IRequest<PagedListQueryResult<GetDictionaryDatasQueryResultItem>>
     {
+        /// <summary>
+        /// 绫诲埆Id
+        /// </summary>
+        public Guid CategoryId { get; set; }
+
+        /// <summary>
+        /// 鍏抽敭瀛�
+        /// </summary>
+        public string Keywords { get; set; }
     }
 
     /// <summary>
@@ -20,6 +30,66 @@
     /// </summary>
     public class GetDictionaryDatasQueryResultItem
     {
+        /// <summary>
+        /// Id
+        /// </summary>
+        public Guid Id { get; set; }
 
+        /// <summary>
+        /// 绫诲埆Id
+        /// </summary>
+        public Guid CategoryId { get; set; }
+
+        /// <summary>
+        /// 涓婄骇Id
+        /// </summary>
+        public Guid? ParentId { get; set; }
+
+        /// <summary>
+        /// 缂栧彿
+        /// </summary>
+        [MaxLength(128)]
+        public string Code { get; set; }
+
+        /// <summary>
+        /// 鏄剧ず鍐呭
+        /// </summary>
+        [Required]
+        public string Content { get; set; }
+
+        /// <summary>
+        /// 瀛楁1
+        /// </summary>
+        public string Field1 { get; set; }
+
+        /// <summary>
+        /// 瀛楁2
+        /// </summary>
+        public string Field2 { get; set; }
+
+        /// <summary>
+        /// 瀛楁3
+        /// </summary>
+        public string Field3 { get; set; }
+
+        /// <summary>
+        /// 瀛楁4
+        /// </summary>
+        public string Field4 { get; set; }
+
+        /// <summary>
+        /// 瀛楁5
+        /// </summary>
+        public string Field5 { get; set; }
+
+        /// <summary>
+        /// 鎺掑簭
+        /// </summary>
+        public int Sort { get; set; }
+
+        /// <summary>
+        /// 鏄惁绂佺敤
+        /// </summary>
+        public bool IsDisabled { get; set; }
     }
 }

--
Gitblit v1.9.1