27 lines
587 B
C#
27 lines
587 B
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
|
|||
|
|
namespace Models.Ext
|
|||
|
|
{
|
|||
|
|
public class MenuNode
|
|||
|
|
{
|
|||
|
|
public string Id { get; set; }
|
|||
|
|
public string Name { get; set; }
|
|||
|
|
public string Icon { get; set; }
|
|||
|
|
public List<MenuNode> Children { get; set; }
|
|||
|
|
|
|||
|
|
//public MenuNode(string id, string name, List<MenuNode> children = null)
|
|||
|
|
//{
|
|||
|
|
// Id = id;
|
|||
|
|
// Name = name;
|
|||
|
|
|
|||
|
|
// Children = children ?? new List<MenuNode>();
|
|||
|
|
//}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
}
|