Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FinancialLog ¶
type FinancialLog struct { ID string `gorm:"primary_key"` Log Log `gorm:"foreignkey:ID"` Type string `gorm:"default:DEBIT"` // DEBIT: Money Out from wallet; CREDIT: Money In to wallet ServiceID string // TOPUP, PURCHASE, PAYMENT Amount float64 Fee float64 ReferenceNo string GLNo string Channel string BankCode string AdditionalInfo string }
func (*FinancialLog) BeforeCreate ¶
func (model *FinancialLog) BeforeCreate(scope *gorm.Scope) error
func (FinancialLog) TableName ¶
func (FinancialLog) TableName() string
Click to show internal directories.
Click to hide internal directories.