# app/src/storage/models.py
 
from __future__ import annotations

from dataclasses import dataclass


@dataclass(slots=True)
class BalanceSnapshotRecord:
    id: int | None
    created_at: str
    source: str
    payload_json: str


@dataclass(slots=True)
class JournalEventRecord:
    id: int | None
    created_at: str
    level: str
    event_type: str
    message: str
    payload_json: str | None