Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct {
Id types.UUID `gorm:"type:uuid;default:gen_random_uuid()"`
Name string `gorm:"not null;"`
Identifier string `gorm:"not null;index;"`
IdentifierType api.AccountIdentifierType `gorm:"not null;"`
WalletId string `gorm:"not null;index;"`
CreatedAt time.Time `gorm:"not null;index;"`
UpdatedAt time.Time `gorm:"not null;index"`
}
type Payment ¶
type Payment struct {
Id types.UUID `gorm:"type:uuid;default:gen_random_uuid()"`
Amount types.Decimal `gorm:"not null;"`
Currency string `gorm:"not null;"`
SourceWalletId *string
Destination types.UUID `gorm:"type:uuid;not null;index"`
CreatedAt time.Time `gorm:"not null;index;"`
UpdatedAt time.Time `gorm:"not null;index"`
}
Click to show internal directories.
Click to hide internal directories.