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

from __future__ import annotations

from my_app.models import Base
from pydantic import BaseModel


class Other(BaseModel):
    code: str | None = None


class Child(Base):
    parent: Base | None = None
    name: str | None = None


class BareChild(Base):
    title: str | None = None


class Holder(BaseModel):
    base: Base | None = None
    child: Child | None = None
    bare_child: BareChild | None = None
    other: Other | None = None


class Model(BaseModel):
    holder: Holder | None = None
