Files
spring-boot-base-demo/src/main/java/cn/xf/basedemo/model/domain/SysRoleMenu.java
xiongfeng 71ddb30d0d 1.引入sa-token权限框架
2.实现RBAC模型相关表结构(用户-权限-菜单-角色)
2025-08-21 22:27:27 +08:00

53 lines
1.1 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package cn.xf.basedemo.model.domain;
import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
/**
* 角色菜单关联表 sys_role_menu
* @TableName sys_role_menu
*/
@TableName(value ="sys_role_menu")
@Data
public class SysRoleMenu implements Serializable {
/**
* 主键ID
*/
@TableId(type = IdType.AUTO)
private Long id;
/**
* 角色IDsys_role_menu.role_id
*/
private Long role_id;
/**
* 菜单IDsys_role_menu.menu_id
*/
private Long menu_id;
/**
* 创建时间sys_role_menu.create_time
*/
private Date create_time;
/**
* 创建人sys_role_menu.create_by
*/
private String create_by;
/**
* 更新时间sys_role_menu.update_time
*/
private Date update_time;
/**
* 更新人sys_role_menu.update_by
*/
private String update_by;
}