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