"""Pydantic request models.""" from __future__ import annotations from pydantic import BaseModel, Field class JoinRequest(BaseModel): student_id: str = Field(min_length=1, max_length=80) name: str = Field(min_length=1, max_length=120) class AdminLoginRequest(BaseModel): password: str