from __future__ import annotations

from pydantic import BaseModel, Field


class MentorPreferencesInput(BaseModel):
    order: list[str] = Field(max_length=200)
    pinned: list[str] = Field(max_length=200)


class MentorChatInput(BaseModel):
    mentor_id: str = Field(min_length=1, max_length=100)
    trade_date: str = Field(min_length=10, max_length=10)
    question: str = Field(min_length=1, max_length=2000)


class MessageResponse(BaseModel):
    message: str


class CountResponse(BaseModel):
    deleted: int
