from typing import Optional

from pydantic import BaseModel


class RegisterEntity(BaseModel):
    first_name: str
    last_name: str
    patronymic: Optional[str] = None
    role_id: int
    login: str
    password: str
