package com.codvision.authcore.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 系统菜单展示信息
 * </p>
 *
 * @author lingee
 * @since 2023-11-09
 */
@Getter
@Setter
@ApiModel(value = "SysMenuVO", description = "系统菜单展示信息")
public class SysMenuBean implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    private Integer id;

    @ApiModelProperty("菜单名称")
    private String name;

    @ApiModelProperty("菜单父id")
    private Integer pid;

    @ApiModelProperty("菜单权限标识")
    private String permission;

    @ApiModelProperty("前端路由标识路径")
    private String url;

    @ApiModelProperty("类型")
    private Short type;

    @ApiModelProperty("排序值")
    private Short sortOrder;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("删除标记,1:已删除,0:正常")
    private Short delFlag;

    @ApiModelProperty("逻辑删除辅助字段")
    private Integer delKey;

    @ApiModelProperty("菜单图标")
    private String icon;

    @ApiModelProperty("是否隐藏")
    private Boolean isHidden;

    @ApiModelProperty("组件地址")
    private String component;

    @ApiModelProperty("布局是否可见")
    private Boolean layout;

    @ApiModelProperty("跳转地址")
    private String redirect;

    @ApiModelProperty("目标地址")
    private String target;

    @ApiModelProperty("所属分类")
    private String category;

    @ApiModelProperty("是否默认")
    private Boolean isDefault;

    @ApiModelProperty("菜单路径")
    private String pathName;


}
