package cn.stylefeng.team.view.api.pojo;

import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class ViewButton {

    @ChineseDescription("按钮id，返回给前端用")
    private String buttonId;

    @ChineseDescription("按钮名称")
    private String buttonName;

    @ChineseDescription("按钮编码")
    private String buttonCode;

    @ChineseDescription("按钮的权限标识")
    private String buttonPermissionCode;

    @ChineseDescription("是否展示")
    private Boolean buttonVisible = true;

    @ChineseDescription("按钮图标")
    private String buttonIcon;

    @ChineseDescription("自定义的路由地址（用在非新增、修改、删除、导出功能）")
    private String customRouterUrl;

    @ChineseDescription("按钮的位置：1-更多，2-操作栏")
    private Integer buttonPlace;

}
