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

from __future__ import annotations

from typing import List, Optional

from custom.models import Animal, Person, Property


class Spouse(Person):
    job: Optional[str] = None


class Pet(Animal):
    name: Optional[str] = None


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


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


class House(Property):
    address: str
    owner: Optional[Owner] = None
