| | |
| | | /// <summary> |
| | | /// 查询数据字典选择器 |
| | | /// </summary> |
| | | [Resource([EnumResourceController.Dictionary], AllowAnonymous = true)] |
| | | [Resource([EnumResourceController.FlexJobServerDictionary], AllowAnonymous = true)] |
| | | public class GetDictionaryDataSelectQuery : SelectQuery<string, GetDictionaryDataSelectQueryResultOption> |
| | | { |
| | | /// <summary> |
| | |
| | | /// 最大深度 |
| | | /// </summary> |
| | | public int? MaxDeep { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 携带下级 |
| | | /// </summary> |
| | | public bool? WithChildren { get; set; } |
| | | } |
| | | |
| | | public class GetDictionaryDataSelectQueryResultOption |
| | | { |
| | | public GetDictionaryDataSelectQueryResultOption() |
| | | { |
| | | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// Id |
| | | /// </summary> |
| | |
| | | public string ParentCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 子级 |
| | | /// </summary> |
| | | public List<SelectOption<string, GetDictionaryDataSelectQueryResultOption>> Children { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 字典路径 |
| | | /// </summary> |
| | | public string Path { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 深度 |
| | | /// </summary> |
| | | public int Deep { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 排序 |
| | | /// </summary> |
| | | public int Sort { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 编号 |
| | | /// </summary> |
| | | [MaxLength(128)] |