"""RBAC 路由服务接口。"""

from abc import ABC, abstractmethod

from fastapi_modules.fastapi_leaudit.domian.vo.rbacVo import RbacUserRoutesVO


class IRbacService(ABC):
    """RBAC 路由服务接口。"""

    @abstractmethod
    async def GetCurrentUserRoutes(self, UserId: int) -> RbacUserRoutesVO:
        """获取当前登录用户可访问的前端路由树。"""
        ...
