"""认证 VO（控制器层 + 服务层使用）。"""

from pydantic import BaseModel, Field


class LoginTokenVO(BaseModel):
    """登录响应。"""

    access_token: str = Field(..., description="JWT Token")
    token_type: str = Field("Bearer", description="Token 类型")
    expires_in: int = Field(..., description="Token 过期时间（秒）")
    issued_time: str = Field(..., description="签发时间 YYYY-MM-DD HH:MM:SS")
    user_info: dict = Field(..., description="用户信息")
