from fastapi_users import schemas

class UserRead(schemas.BaseUser[int]):
    """
    Schema for reading user information.
    Inherits fields from BaseUser (id, email, is_active, etc.).
    """
    pass

class UserCreate(schemas.BaseUserCreate):
    """
    Schema for creating a new user.
    Inherits fields from BaseUserCreate (email, password).
    """
    pass

class UserUpdate(schemas.BaseUserUpdate):
    """
    Schema for updating a user.
    Inherits fields from BaseUserUpdate (password, etc. are optional).
    """
    pass