"""任务操作日志 Pydantic Schemas""" from __future__ import annotations import uuid from datetime import datetime from pydantic import BaseModel, Field class TaskLogResponse(BaseModel): """任务日志响应""" id: uuid.UUID task_id: uuid.UUID operator_id: str | None action_type: str remark: str | None created_at: datetime model_config = {"from_attributes": True}