package param import ( "time" "git.gocasts.ir/ebhomengo/niki/domain/wallet/entity" "git.gocasts.ir/ebhomengo/niki/pkg/types" "github.com/shopspring/decimal" ) type CreateTransactionRequest struct { UserID uint64 `json:"user_id"` Amount string `json:"amount"` Currency types.Currency `json:"currency"` ActionType entity.TransactionType `json:"action_type"` Timestamp time.Time `json:"timestamp"` } type InsertTransactionResponse struct { Balance decimal.Decimal `json:"balance"` Currency types.Currency `json:"currency"` }