from datetime import datetime

from pydantic import BaseModel


class AccessTokenModel(BaseModel):
    access_token: str


class QueueModel(BaseModel):
    id: int
    guid: str
    created_at: datetime
    code_mo: int | None
    mo_name: str | None
    doctor_spec: str
    doctor_snils: str | None
    doctor_fio: str | None
    patient_name: str | None
    patient_birthday: datetime | None
    patient_snils: str
    patient_policy: str | None
    patient_phone: str | None
    patient_email: str | None
    tmk_status: int
    tmk_status_name: str
    tmk_cancel_reason: int | None
    tmk_cancel_reason_name: str | None
    vks_doctor_link: str | None
    vks_patient_link: str | None
    doctor_spec_name: str | None
