You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
781 B
22 lines
781 B
package user
|
|
|
|
import (
|
|
"github.com/golangkit/formatime"
|
|
"github.com/shopspring/decimal"
|
|
)
|
|
|
|
type WalletWithdrawalsList struct {
|
|
ID uint `gorm:"column:id;primary_key" json:"id"`
|
|
UserID uint `gorm:"column:user_id" json:"-"`
|
|
Amount decimal.Decimal `gorm:"column:amount" json:"amount"`
|
|
UserName string `gorm:"column:user_name" json:"userName"`
|
|
BankNo string `gorm:"column:bank_no" json:"bankNo"`
|
|
Completed uint `gorm:"column:completed" json:"-"`
|
|
FinishTime formatime.Second `gorm:"column:finish_time" json:"finishTime"`
|
|
CreatedAt formatime.Second `gorm:"column:created_at" json:"createdAt"`
|
|
}
|
|
|
|
func (r *WalletWithdrawalsList) TableName() string {
|
|
return "recook_user_wallet_withdrawals_list"
|
|
}
|