# generated by datamodel-codegen:
#   filename:  _internal
#   timestamp: 1985-10-26T08:21:00+00:00

from __future__ import annotations

from pydantic import BaseModel


class BaseEntity(BaseModel):
    id: str | None = None
    created_at: str | None = None


class RootModel(BaseModel):
    id: str | None = None
    auth: Authorization | None = None


class Invoice(BaseEntity):
    total: int | None = None
    session: Session | None = None


class Session(BaseEntity):
    status: str | None = None
    root_ref: RootModel | None = None


class Authorization(BaseEntity):
    amount: int | None = None
    invoice: Invoice | None = None


RootModel.model_rebuild()
Invoice.model_rebuild()
