| | |
| | | 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 |
| | | /// </summary> |
| | | public Guid CategoryId { get; set; } |
| | | public Guid? CategoryId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 关键字 |
| | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 获取字典数据分页列表-结果-行数据 |
| | | /// 获取数据字典分页列表数据-结果-行数据 |
| | | /// </summary> |
| | | public class GetDictionaryDatasQueryResultItem |
| | | { |
| | |
| | | /// 类别Id |
| | | /// </summary> |
| | | public Guid CategoryId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 类别 |
| | | /// </summary> |
| | | public GetDictionaryDatasQueryResultItemCategory Category { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 上级Id |
| | |
| | | /// </summary> |
| | | public bool IsDisabled { get; set; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 获取数据字典分页列表数据-结果-行数据-类别 |
| | | /// </summary> |
| | | public class GetDictionaryDatasQueryResultItemCategory |
| | | { |
| | | /// <summary> |
| | | /// 名称 |
| | | /// </summary> |
| | | public string Name { get; set; } |
| | | } |
| | | } |