from __future__ import annotations

from dataclasses import dataclass
from datetime import datetime
from typing import Any


@dataclass(slots=True)
class OperationRecord:
    op_id: str
    session_id: str
    sequence: int
    op_type: str
    payload: dict[str, Any]
    created_at: datetime
