Files
SmartUp/backend/app/schemas/log.py
T
2026-05-12 17:51:53 +08:00

17 lines
367 B
Python

from datetime import datetime
from typing import Optional, Any
from pydantic import BaseModel
class NotificationLogResponse(BaseModel):
id: int
webhook_config_id: int
webhook_name: str
event_type: str
payload: dict[str, Any]
status: str
response_text: Optional[str]
created_at: datetime
model_config = {"from_attributes": True}