84 lines
1.8 KiB
C#
84 lines
1.8 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Syc.Basic.Web.WMS.Dtos
|
|
{
|
|
public class MenuListDto
|
|
{
|
|
public List<RouteItem> data { get; set; }
|
|
public int total { get => data?.Count ?? 0; }
|
|
}
|
|
|
|
public class RouteItem
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
public int parentId { get; set; }
|
|
|
|
public string path { get; set; }
|
|
|
|
public string component { get; set; }
|
|
|
|
public string name { get; set; }
|
|
|
|
//public string alias { get; set; }
|
|
|
|
public RouteMeta meta { get; set; }
|
|
|
|
public string redirect { get; set; }
|
|
|
|
public bool caseSensitive { get; set; }
|
|
|
|
public List<RouteItem> children { get; set; }
|
|
}
|
|
|
|
public class RouteMeta
|
|
{
|
|
public int sort { get; set; }
|
|
|
|
public string title { get; set; }
|
|
|
|
public int? dynamicLevel { get; set; }
|
|
|
|
public string realPath { get; set; }
|
|
|
|
public bool? ignoreAuth { get; set; }
|
|
|
|
public bool? ignoreKeepAlive { get; set; }
|
|
|
|
public bool? affix { get; set; }
|
|
|
|
public string icon { get; set; }
|
|
|
|
public string img { get; set; }
|
|
|
|
public string frameSrc { get; set; }
|
|
|
|
/// <summary>
|
|
/// 转换i名
|
|
/// </summary>
|
|
public string transitionName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 隐藏面包屑
|
|
/// </summary>
|
|
public bool? hideBreadcrumb { get; set; }
|
|
|
|
/// <summary>
|
|
/// 隐藏子菜单
|
|
/// </summary>
|
|
public bool? hideChildrenInMenu { get; set; }
|
|
|
|
public bool? carryParam { get; set; }
|
|
|
|
public bool? single { get; set; }
|
|
|
|
public bool? hideTab { get; set; }
|
|
|
|
public bool? hideMenu { get; set; }
|
|
}
|
|
}
|