from dataclasses import dataclass
from datetime import datetime
from decimal import Decimal


@dataclass(frozen=True)
class Transaction:
    user_id: int
    value: Decimal
    is_debit: bool
    reference: str
    transaction_date: datetime
