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

from __future__ import annotations

from pydantic import BaseModel


class UserRequest(BaseModel):
    name: str
    password: str | None = None


class UserResponse(BaseModel):
    id: int | None = None
    name: str


class Address(BaseModel):
    street: str | None = None
    city: str


class ProductRequest(BaseModel):
    name: str | None = None
