sunpengfei
1 天以前 c682cd59ded8e71957a802dd4f8dcf58e0113c0f
FlexJobApi.Core/Models/CommonServer/Dictionaries/Queries/GetDictionaryDataSelectQuery.cs
@@ -10,7 +10,7 @@
    /// <summary>
    /// 查询数据字典选择器
    /// </summary>
    [Resource([EnumResourceController.Dictionary], AllowAnonymous = true)]
    [Resource([EnumResourceController.FlexJobServerDictionary], AllowAnonymous = true)]
    public class GetDictionaryDataSelectQuery : SelectQuery<string, GetDictionaryDataSelectQueryResultOption>
    {
        /// <summary>
@@ -42,21 +42,56 @@
        /// 最大深度
        /// </summary>
        public int? MaxDeep { get; set; }
        /// <summary>
        /// 携带下级
        /// </summary>
        public bool? WithChildren { get; set; }
    }
    public class GetDictionaryDataSelectQueryResultOption
    {
        public GetDictionaryDataSelectQueryResultOption()
        {
        }
        /// <summary>
        /// Id
        /// </summary>
        public Guid Id { get; set; }
        /// <summary>
        /// 上级Id
        /// </summary>
        public Guid? ParentId { get; set; }
        /// <summary>
        /// 上级编号
        /// </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)]