42 lines
696 B
Go
42 lines
696 B
Go
package domain
|
|
|
|
type Wallet struct {
|
|
ID int64
|
|
Balance Currency
|
|
IsWithdraw bool
|
|
IsBettable bool
|
|
IsActive bool
|
|
UserID int64
|
|
}
|
|
|
|
type CustomerWallet struct {
|
|
ID int64
|
|
RegularID int64
|
|
StaticID int64
|
|
CustomerID int64
|
|
CompanyID int64
|
|
}
|
|
type GetCustomerWallet struct {
|
|
ID int64
|
|
RegularID int64
|
|
RegularBalance Currency
|
|
StaticID int64
|
|
StaticBalance Currency
|
|
CustomerID int64
|
|
CompanyID int64
|
|
}
|
|
|
|
type CreateWallet struct {
|
|
Balance Currency
|
|
IsWithdraw bool
|
|
IsBettable bool
|
|
UserID int64
|
|
}
|
|
|
|
type CreateCustomerWallet struct {
|
|
CustomerID int64
|
|
CompanyID int64
|
|
RegularWalletID int64
|
|
StaticWalletID int64
|
|
}
|