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

namespace LHDN.CRM.Models.ViewModels
{
    public class MenuViewModel
    {
        public string Title { get; set; }
        public string Icon { get; set; }
        public string Description { get; set; }
        public bool IsAuthorized { get; set; }
        public bool ContainSections { get; set; }
        public int SectionCount { get; set; }
        public List<SubMenusectionViewModel> SubSections{get;set;}
    }

    public class SubMenusectionViewModel
    {
        public string Title { get; set; }
        public bool IsAuthorized { get; set; }
        public int SubmenuCount { get; set; }
        public List<SubMenuViewModel> Submenus { get; set; }
    }

    public class SubMenuViewModel
    {
        public string Title { get; set; }
        public bool IsFunction { get; set; }
        public string ActionLink { get; set; }
        public string Script { get; set; }
        public string AngularFunction { get; set; }
    }
}
