MetaVo.java
941 Bytes
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
package com.bs.web.domain.vo;
import io.swagger.v3.oas.annotations.media.Schema;
/**
* 路由显示信息
*
* @author system
*/
public class MetaVo
{
@Schema(name = "title", description = "设置该路由在侧边栏和面包屑中展示的名字", required = false, type = "String", hidden = false)
private String title;
@Schema(name = "icon", description = "设置该路由的图标,对应路径 src/icons/svg", required = false, type = "String", hidden = false)
private String icon;
public MetaVo()
{
}
public MetaVo(String title, String icon)
{
this.title = title;
this.icon = icon;
}
public String getTitle()
{
return title;
}
public void setTitle(String title)
{
this.title = title;
}
public String getIcon()
{
return icon;
}
public void setIcon(String icon)
{
this.icon = icon;
}
}