from src.modules.users.schemas.common import UserBase
from pydantic import Field


class UserCreateSchema(UserBase):
    password: str = Field(
        description="Password of the user", min_length=8, max_length=128
    )


class UserUpdateSchema(UserBase):
    id: int
