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_permission")
@EqualsAndHashCode(callSuper = true)
public class RolePermissionDO extends Model<RolePermissionDO> {

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

	@TableField(value = "permission_id")
	private Long permissionId;
}
