using MediatR; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FlexJobApi.Core { /// /// 获取数据字典类别分页列表数据 /// [Resource([EnumResourceController.Dictionary])] public class GetDictionaryCategoriesQuery : PagedListQuery, GetDictionaryCategoriesQueryResultItem> { /// /// 关键字 /// public string Keywords { get; set; } } /// /// 获取数据字典类别分页列表数据-结果-项 /// public class GetDictionaryCategoriesQueryResultItem { /// /// Id /// public Guid Id { get; set; } /// /// 编号 /// public string Code { get; set; } /// /// 名称 /// public string Name { get; set; } /// /// 字段名(逗号隔开) /// public string FieldNames { get; set; } /// /// 排序 /// public int Sort { get; set; } } }