package com.xunhong.erp.turbo.rbac.infrastructure.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@TableName(value = "role_menu")
@EqualsAndHashCode(callSuper = true)
public class RoleMenuDO extends Model<RoleMenuDO> {

	@TableField(value = "role_id")
	private Long roleId;

	@TableField(value = "menu_id")
	private Long menuId;

	@TableField(exist = false)
	private MenuDO menuDO;
}
