"""Appointment queries — Phase 14.1.""" from __future__ import annotations from uuid import UUID from sqlalchemy.ext.asyncio import AsyncSession from app.services.appointment_core import AppointmentCoreService class AppointmentQueries: def __init__(self, session: AsyncSession) -> None: self.service = AppointmentCoreService(session) async def get(self, tenant_id: UUID, appointment_id: UUID): return await self.service.get(tenant_id, appointment_id) async def list(self, tenant_id: UUID, *, offset: int = 0, limit: int = 20): return await self.service.list(tenant_id, offset=offset, limit=limit) async def list_history(self, tenant_id: UUID, appointment_id: UUID): return await self.service.list_history(tenant_id, appointment_id)