sunpengfei
2025-08-07 c0a4b045720e83f8e52ffc110b773aeece590b55
FlexJobApi.Core/Models/Main/Dictionaries/Queries/GetDictionaryDatasQuery.cs
@@ -1,4 +1,5 @@
using MediatR;
using Mapster;
using MediatR;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
@@ -15,9 +16,19 @@
    public class GetDictionaryDatasQuery : PagedListQuery<PagedListQueryResult<GetDictionaryDatasQueryResultItem>, GetDictionaryDatasQueryResultItem>
    {
        /// <summary>
        /// 类别Id
        /// 类别Id(Id/编号二选一)
        /// </summary>
        public Guid? CategoryId { get; set; }
        /// <summary>
        /// 类别编号(Id/编号二选一)
        /// </summary>
        public string CategoryCode { get; set; }
        /// <summary>
        /// 上级Id
        /// </summary>
        public Guid? ParentId { get; set; }
        /// <summary>
        /// 关键字
@@ -41,9 +52,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 +120,11 @@
    public class GetDictionaryDatasQueryResultItemCategory
    {
        /// <summary>
        /// 类别编号
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }