duheng
2025-01-09 a91c47d4ae8ad414e492a66f10eafce678892503
WinFrmUI/HStation.WinFrmUI.Auth.Core/01-menu/MenuViewModel.cs
@@ -19,7 +19,7 @@
            this.ID = rhs.ID;
            this.ProjectID = rhs.ProjectID;
            this.ParentID = rhs.ParentID;
            this.Type = rhs.Type;
            this.Type = (eMenuType)rhs.Type;
            this.Name = rhs.Name;
            this.Path = rhs.Path;
            this.Permission = rhs.Permission;
@@ -37,7 +37,7 @@
            this.ID = rhs.ID;
            this.ProjectID = rhs.ProjectID;
            this.ParentID = rhs.ParentID;
            this.Type = rhs.Type;
            this.Type = (eMenuType)rhs.Type;
            this.Name = rhs.Name;
            this.Path = rhs.Path;
            this.Permission = rhs.Permission;
@@ -68,7 +68,7 @@
        /// 类型
        /// </summary>
        [DisplayName("类型")]
        public int Type { get; set; }
        public eMenuType Type { get; set; }
        /// <summary>
        /// 名称
@@ -129,5 +129,26 @@
        /// </summary>
        [DisplayName("说明")]
        public string Description { get; set; }
        public enum eMenuType
        {
            /// <summary>
            /// 目录
            /// </summary>
            [Description("目录")]
            Catalog = 1,
            /// <summary>
            /// 菜单
            /// </summary>
            [Description("菜单")]
            Munu = 2,
            /// <summary>
            /// 功能点
            /// </summary>
            [Description("功能点")]
            Function = 3
        }
    }
}