forked from ebhomengo/niki
22 lines
393 B
Go
22 lines
393 B
Go
package param
|
|
|
|
import (
|
|
"time"
|
|
|
|
"git.gocasts.ir/ebhomengo/niki/domain/wallet/entity"
|
|
)
|
|
|
|
type WalletRequest struct {
|
|
UserID uint64 `json:"user_id"`
|
|
}
|
|
|
|
type WalletResponse struct {
|
|
Wallet WalletInfo `json:"wallet"`
|
|
}
|
|
|
|
type WalletInfo struct {
|
|
Balance float64 `json:"balance"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
Status entity.WalletStatus `json:"status"`
|
|
}
|