dingdanquanliucheng/backend/app/schemas/common.py

11 lines
144 B
Python
Raw Normal View History

2026-05-14 10:15:51 +08:00
from pydantic import BaseModel
class IdResponse(BaseModel):
id: int
class PageResponse(BaseModel):
total: int
items: list[dict]