# generated by datamodel-codegen:
#   filename:  custom_base_path.json
#   timestamp: 2019-07-26T00:00:00+00:00

from __future__ import annotations

from custom.models import Animal, Person, Property


class Spouse(Person):
    job: str | None = None


class Pet(Animal):
    name: str | None = None


class Child(Person):
    school: str | None = None
    grade: float | None = None
    pets: list[Pet] | None = None


class Owner(Person):
    job: str | None = None
    spouse: Spouse | None = None
    children: list[Child] | None = None


class House(Property):
    address: str
    owner: Owner | None = None
