29 lines
772 B
C#
29 lines
772 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Marco.Pms.Model.ViewModels.AppMenu
|
|
{
|
|
public class MenuSectionVm
|
|
{
|
|
public string? Header { get; set; }
|
|
public string? Title { get; set; }
|
|
public List<MenuItemVm> Items { get; set; } = new();
|
|
}
|
|
|
|
public class MenuItemVm
|
|
{
|
|
public string? Text { get; set; }
|
|
public string? Icon { get; set; }
|
|
public bool Available { get; set; } = true;
|
|
public string? Link { get; set; }
|
|
public List<SubMenuItemVm> Submenu { get; set; } = new();
|
|
}
|
|
|
|
public class SubMenuItemVm
|
|
{
|
|
public string? Text { get; set; }
|
|
public bool Available { get; set; } = true;
|
|
public string Link { get; set; } = string.Empty;
|
|
}
|
|
}
|