"""
Admin API Package

管理 API 模块，包含：
- dashboard: 仪表板统计和系统资源路由
- users: 用户管理路由
- projects: 项目管理路由
- tasks: 任务管理路由
- settings: 系统设置路由
"""

from fastapi import APIRouter

from .dashboard import router as dashboard_router
from .users import router as users_router
from .projects import router as projects_router
from .tasks import router as tasks_router
from .settings import router as settings_router

# 创建主路由器
router = APIRouter(prefix="/admin", tags=["admin"])

# 包含所有子路由
router.include_router(dashboard_router)
router.include_router(users_router)
router.include_router(projects_router)
router.include_router(tasks_router)
router.include_router(settings_router)

__all__ = [
    "router",
]
