using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BlazorWASM.Shared
{
    public class NavMenuItem
    {
        public string DisplayName { get; set; }
        public string NavUrl { get; set; }
        public List<NavMenuItem>? SubItems { get; set;}

        public NavMenuItem(string displayName, string navUrl, List<NavMenuItem>? subItems=null)
        {
            DisplayName = displayName;
            NavUrl = navUrl;
            SubItems = subItems;
        }
    }
}
