package param

import (
	"time"

	"git.gocasts.ir/ebhomengo/niki/domain/wallet/entity"
)

type TransactionRequest struct {
	UserID uint64 `json:"user_id"`
}

type TransactionResponse struct {
	Transaction []TransactionInfo `json:"transaction"`
}

type TransactionInfo struct {
	ID         uint64                 `json:"id"`
	UserID     uint64                 `json:"user_id"`
	Amount     float64                `json:"amount"`
	Currency   entity.Currency        `json:"currency"`
	ActionType entity.TransactionType `json:"action_type"`
	Timestamp  time.Time              `json:"timestamp"`
}
