Files
group_fqcd_jr/app/api/schemas/visitor_tokens.py
T

10 lines
254 B
Python
Raw Normal View History

2026-09-10 13:56:08 +08:00
from pydantic import BaseModel, ConfigDict, Field
class VisitorTokenResponse(BaseModel):
model_config = ConfigDict(frozen=True)
access_token: str = Field(min_length=1)
token_type: str = "Bearer"
expires_in: int = Field(ge=60, le=3600)