package entity

import "time"

type Wallet struct {
	ID        uint64
	UserID    uint64 // user unique ID
	Balance   float64
	Currency  Currency
	UpdatedAt time.Time
	Status    WalletStatus // "active", "frozen", "closed"
}

type WalletStatus string

const (
	Frozen WalletStatus = "frozen" // when need to check , approve ,validate , solve sth (but deposit is possible)
	Active WalletStatus = "active" // when everything is ok

	// ??
	// Closed WalletStatus = "closed" // when need to check , approve ,validate , solve sth (exp : security problem)

)
