Yimaru-BackEnd/internal/domain/transfer.go

24 lines
343 B
Go

package domain
type TransferType string
const (
DEPOSIT TransferType = "deposit"
WITHDRAW TransferType = "withdraw"
)
type Transfer struct {
ID int64
Amount Currency
Verified bool
WalletID int64
Type TransferType
}
type CreateTransfer struct {
Amount Currency
Verified bool
WalletID int64
Type TransferType
}