Files
student_manage_system/Teachers/schema/tea_response.py
T

9 lines
156 B
Python
Raw Normal View History

2026-09-21 16:28:55 +08:00
from pydantic import BaseModel
2026-09-21 19:36:29 +08:00
2026-09-21 16:28:55 +08:00
class TeaResponse(BaseModel):
code: int = 200
detail: str = 'OK'
totals:int = 0
2026-09-21 19:36:29 +08:00
data: str |dict|tuple|list
2026-09-21 16:28:55 +08:00