MetaVo.java 941 Bytes
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;
    }
}