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

from __future__ import annotations

from typing import Any

from pydantic import BaseModel, constr


class Parent(BaseModel):
    name: constr(min_length=1) | None = None
    allowed: Any | None = None


class Child(Parent):
    name: constr(min_length=1, max_length=100) | None = None
