Try your search with a different keyword or use * as a wildcard.
using Nop.Core.Domain.Localization;
using Nop.Core.Domain.Security;
using Nop.Core.Domain.Stores;
namespace Nop.Core.Domain.Menus;
///
/// Represents the menu item
///
public partial class MenuItem : BaseEntity, IAclSupported, IStoreMappingSupported, ILocalizedEntity
{
///
/// Gets or sets the title
///
public string Title { get; set; }
///
/// Gets or sets the link URL
///
public string Url { get; set; }
///
/// Gets or sets the menu item type identifier
///
public int MenuItemTypeId { get; set; }
///
/// Gets or sets the identifier of the related entity
///
public int? EntityId { get; set; }
///
/// Gets or sets the number of sub-items for entity item in the grid view
///
public int? NumberOfSubItemsPerGridElement { get; set; }
///
/// Gets or sets the number of elements in a grid row
///
public int? NumberOfItemsPerGridRow { get; set; }
///
/// Gets or sets the maximum number of loaded sub-entities
///
public int? MaximumNumberEntities { get; set; }
///
/// Gets or sets the route name
///
public string RouteName { get; set; }
///
/// Gets or sets the template identifier
///
public int TemplateId { get; set; }
///
/// Gets or sets the display order
///
public int DisplayOrder { get; set; }
///
/// Gets or sets the CSS class
///
public string CssClass { get; set; }
///
/// Gets or sets a value indicating whether the menu item is subject to ACL
///
public bool SubjectToAcl { get; set; }
///
/// Gets or sets a value indicating whether the menu item is limited/restricted to certain stores
///
public bool LimitedToStores { get; set; }
///
/// Gets or sets a value indicating whether the menu item is published
///
public bool Published { get; set; }
///
/// Gets or sets the identifier of the parent menu item
///
public int ParentId { get; set; }
///
/// Gets or sets the menu identifier
///
public int MenuId { get; set; }
///
/// Gets or sets the menu item type
///
public MenuItemType MenuItemType
{
get => (MenuItemType)MenuItemTypeId;
set => MenuItemTypeId = (int)value;
}
///
/// Gets or sets the menu item template
///
public MenuItemTemplate Template
{
get => (MenuItemTemplate)TemplateId;
set => TemplateId = (int)value;
}
}