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

from __future__ import annotations

from dataclasses import dataclass
from typing import Optional


@dataclass(kw_only=True)
class Base:
    id: str
    createdAt: Optional[str] = None
    version: Optional[float] = 1


@dataclass(kw_only=True)
class Child(Base):
    title: str
    url: Optional[str] = 'https://example.com'
