package entity

import "time"

type Transaction struct {
	ID         uint64
	UserID     uint64
	Amount     float64
	Currency   Currency
	ActionType TransactionType
	Timestamp  time.Time
}

type TransactionType string

const (
	TransactionTypeDeposit  TransactionType = "deposit"
	TransactionTypeWithdraw TransactionType = "withdraw"
	TransactionTypeRefund   TransactionType = "refund"
	TransactionTypeDonate   TransactionType = "donate"
)

type Currency string

const (
	IRR Currency = "IRR"
	USD Currency = "USD"
)
