ke_junjie
2025-06-04 84620534eb627e95811b971a4b552b6a177829bf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
namespace iWare.Wms.Application
{
    /// <summary>
    /// 登录菜单-AntDesign菜单类型
    /// </summary>
    public class AntDesignTreeNode
    {
        /// <summary>
        /// id
        /// </summary>
        public long? Id { get; set; }
 
        /// <summary>
        /// 父id
        /// </summary>
        public long? Pid { get; set; }
 
        /// <summary>
        /// 路由名称, 必须设置,且不能重名
        /// </summary>
        public string Name { get; set; }
 
        /// <summary>
        /// 组件
        /// </summary>
        public string Component { get; set; }
 
        /// <summary>
        /// 重定向地址, 访问这个路由时, 自定进行重定向
        /// </summary>
        public string Redirect { get; set; }
 
        /// <summary>
        /// 路由元信息(路由附带扩展信息)
        /// </summary>
        public Meta Meta { get; set; }
 
        /// <summary>
        /// 路径
        /// </summary>
        public string Path { get; set; }
 
        /// <summary>
        /// 控制路由和子路由是否显示在 sidebar
        /// </summary>
        public bool Hidden { get; set; }
    }
 
    /// <summary>
    /// 路由元信息内部类
    /// </summary>
    public class Meta
    {
        /// <summary>
        /// 路由标题, 用于显示面包屑, 页面标题 *推荐设置
        /// </summary>
        public string Title { get; set; }
 
        /// <summary>
        /// 图标
        /// </summary>
        public string Icon { get; set; }
 
        /// <summary>
        /// 是否可见
        /// </summary>
        public bool Show { get; set; }
 
        /// <summary>
        /// 如需外部打开,增加:_blank
        /// </summary>
        public string Target { get; set; }
 
        /// <summary>
        /// 内链打开http链接
        /// </summary>
        public string Link { get; set; }
    }
}