首次提交后端接口
This commit is contained in:
59
src/main/java/com/nanxiislet/admin/entity/SysMenu.java
Normal file
59
src/main/java/com/nanxiislet/admin/entity/SysMenu.java
Normal file
@@ -0,0 +1,59 @@
|
||||
package com.nanxiislet.admin.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.nanxiislet.admin.common.base.BaseEntity;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* 菜单实体
|
||||
*
|
||||
* @author NanxiIslet
|
||||
* @since 2024-01-08
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("sys_menu")
|
||||
@Schema(description = "菜单信息")
|
||||
public class SysMenu extends BaseEntity {
|
||||
|
||||
@Schema(description = "关联项目ID")
|
||||
private Long projectId;
|
||||
|
||||
@Schema(description = "父菜单ID")
|
||||
private Long parentId;
|
||||
|
||||
@Schema(description = "菜单名称")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "菜单编码/Key")
|
||||
private String code;
|
||||
|
||||
@Schema(description = "菜单类型 directory-目录 menu-菜单 button-按钮")
|
||||
private String type;
|
||||
|
||||
@Schema(description = "路由路径")
|
||||
private String path;
|
||||
|
||||
@Schema(description = "组件路径")
|
||||
private String component;
|
||||
|
||||
@Schema(description = "图标")
|
||||
private String icon;
|
||||
|
||||
@Schema(description = "权限标识")
|
||||
private String permission;
|
||||
|
||||
@Schema(description = "排序")
|
||||
private Integer sort;
|
||||
|
||||
@Schema(description = "是否隐藏 0-显示 1-隐藏")
|
||||
private Integer hidden;
|
||||
|
||||
@Schema(description = "状态 0-禁用 1-正常")
|
||||
private Integer status;
|
||||
|
||||
@Schema(description = "备注")
|
||||
private String remark;
|
||||
}
|
||||
Reference in New Issue
Block a user