2026-08-04 17:03:29 +08:00
|
|
|
"""Pydantic Schemas — 请求/响应数据模型"""
|
|
|
|
|
from app.schemas.product import (
|
|
|
|
|
ProductCreate,
|
|
|
|
|
ProductUpdate,
|
|
|
|
|
ProductResponse,
|
|
|
|
|
ProductScanResponse,
|
|
|
|
|
)
|
|
|
|
|
from app.schemas.task import (
|
|
|
|
|
TaskCreate,
|
|
|
|
|
TaskUpdate,
|
|
|
|
|
TaskCompleteRequest,
|
|
|
|
|
TaskRejectRequest,
|
|
|
|
|
TaskTransferRequest,
|
|
|
|
|
SubtaskCreate,
|
|
|
|
|
TaskSummaryResponse,
|
|
|
|
|
TaskResponse,
|
|
|
|
|
TaskCompleteResponse,
|
|
|
|
|
TaskTransferResponse,
|
|
|
|
|
TaskListResponse,
|
|
|
|
|
)
|
|
|
|
|
from app.schemas.task_log import (
|
|
|
|
|
TaskLogResponse,
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
__all__ = [
|
|
|
|
|
# Product
|
|
|
|
|
"ProductCreate",
|
|
|
|
|
"ProductUpdate",
|
|
|
|
|
"ProductResponse",
|
|
|
|
|
"ProductScanResponse",
|
|
|
|
|
# Task
|
|
|
|
|
"TaskCreate",
|
|
|
|
|
"TaskUpdate",
|
|
|
|
|
"TaskCompleteRequest",
|
|
|
|
|
"TaskRejectRequest",
|
|
|
|
|
"TaskTransferRequest",
|
|
|
|
|
"SubtaskCreate",
|
|
|
|
|
"TaskSummaryResponse",
|
|
|
|
|
"TaskResponse",
|
|
|
|
|
"TaskCompleteResponse",
|
|
|
|
|
"TaskTransferResponse",
|
|
|
|
|
"TaskListResponse",
|
|
|
|
|
# TaskLog
|
|
|
|
|
"TaskLogResponse",
|
|
|
|
|
]
|