using ERP.Core.Enums; using ERP.Framework.Enum; using ERP.Framework.WebApi; using System.ComponentModel.DataAnnotations.Schema; namespace ERP.Core.Entities { [Table("sys_menu")] public class SysMenu : TreeEntity { /// /// 菜单名称 /// public virtual string MenuName { get; set; } = string.Empty; /// /// 菜单路由 /// public virtual string? Path { get; set; } /// /// 组件路径 /// public virtual string? Component { get; set; } /// /// 查询参数 /// public virtual bool IsCache { get; set; } /// /// 显示隐藏 /// public virtual bool Visible { get; set; } /// /// 菜单类型 /// public virtual MenuTypeEnum MenuType { get; set; } /// /// 菜单状态 /// public virtual StatusEnum MenuStatus { get; set; } /// /// 菜单图标 /// public virtual string? Icon { get; set; } /// /// 权限标识 /// public virtual string? Permission { get; set; } } }