535d97a70c
17-table PostgreSQL schema with full Chinese column comments, FastAPI project structure (admin/common/modules), DSL rule files, and schema migration scripts.
14 lines
499 B
Python
14 lines
499 B
Python
"""认证 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="用户信息")
|