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

from __future__ import annotations

from pydantic import BaseModel


class UserRequest(BaseModel):
    existing_field: str | None = None


class UserRequestModel(BaseModel):
    another_field: str | None = None


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


class UserResponse(BaseModel):
    id: int
    name: str


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