using ERPCore.Domain.Enums;

namespace ERPCore.Domain.Entities;

/// <summary>A child sidebar entry under a <see cref="NavItem"/> (e.g. Products' children).</summary>
public class SubNavItem
{
    public int SubNavItemId { get; set; }
    public int NavItemId { get; set; }
    public string Code { get; set; } = string.Empty;
    public string Label { get; set; } = string.Empty;
    public string? Icon { get; set; }
    public string? Href { get; set; }
    public int SortOrder { get; set; }
    public EntityStatus Status { get; set; } = EntityStatus.Active;

    public NavItem? NavItem { get; set; }
}
