package com.rj.entity.sys;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 菜单表
 * </p>
 *
 * @author 系统生成
 * @since 2025-08-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("menu")
@Schema(description="菜单表")
public class Menu implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "菜单编号")
    @TableId("menu_id")
    private Integer menuId;

    @Schema(description = "菜单名称")
    @TableField("name")
    private String name;

    @Schema(description = "重定向路径")
    @TableField("redirect")
    private String redirect;

    @Schema(description = "路由路径")
    @TableField("path")
    private String path;

    @Schema(description = "组件路径")
    @TableField("component")
    private String component;

    @Schema(description = "父菜单ID")
    @TableField("parent_id")
    private Integer parentId;

    @Schema(description = "元数据信息(JSON格式)")
    @TableField("meta")
    private String meta;

}
