sunpengfei
2025-08-06 fe910d268980a24ad6ba565f045ecae792bc208c
FlexJobApi.Core/Models/Main/Dictionaries/Queries/GetDictionaryDatasQuery.cs
@@ -9,15 +9,20 @@
namespace FlexJobApi.Core
{
    /// <summary>
    /// 获取字典数据分页列表
    /// 获取数据字典分页列表数据
    /// </summary>
    [Resource([EnumResourceController.Dictionary])]
    public class GetDictionaryDatasQuery : PagedListQuery<PagedListQueryResult<GetDictionaryDatasQueryResultItem>, GetDictionaryDatasQueryResultItem> , IRequest<PagedListQueryResult<GetDictionaryDatasQueryResultItem>>
    public class GetDictionaryDatasQuery : PagedListQuery<PagedListQueryResult<GetDictionaryDatasQueryResultItem>, GetDictionaryDatasQueryResultItem>
    {
        /// <summary>
        /// 类别Id
        /// 类别Id(Id/编号二选一)
        /// </summary>
        public Guid CategoryId { get; set; }
        public Guid? CategoryId { get; set; }
        /// <summary>
        /// 类别编号(Id/编号二选一)
        /// </summary>
        public string CategoryCode { get; set; }
        /// <summary>
        /// 关键字
@@ -26,7 +31,7 @@
    }
    /// <summary>
    /// 获取字典数据分页列表-结果-行数据
    /// 获取数据字典分页列表数据-结果-行数据
    /// </summary>
    public class GetDictionaryDatasQueryResultItem
    {
@@ -39,6 +44,11 @@
        /// 类别Id
        /// </summary>
        public Guid CategoryId { get; set; }
        /// <summary>
        /// 类别
        /// </summary>
        public GetDictionaryDatasQueryResultItemCategory Category { get; set; }
        /// <summary>
        /// 上级Id
@@ -92,4 +102,15 @@
        /// </summary>
        public bool IsDisabled { get; set; }
    }
    /// <summary>
    /// 获取数据字典分页列表数据-结果-行数据-类别
    /// </summary>
    public class GetDictionaryDatasQueryResultItemCategory
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
    }
}