21 lines
623 B
Go
21 lines
623 B
Go
package model
|
|
|
|
// UserWithdrawalTransfer 提现转账数据模型
|
|
type UserWithdrawalTransfer struct {
|
|
Model
|
|
UID uint64 `gorm:"column:uid;type:int;default:0;comment:用户uuid" json:"-"`
|
|
WithdrawalID uint64 `gorm:"column:withdrawal_id;type:int(11);default:0;comment:用户uuid" json:"-"`
|
|
Images
|
|
Remark string `gorm:"column:remark;type:varchar(255);default:'';comment:备注信息" json:"remark"`
|
|
ModelDeleted
|
|
ModelAt
|
|
}
|
|
|
|
func (m *UserWithdrawalTransfer) TableName() string {
|
|
return "user_withdrawal_transfer"
|
|
}
|
|
|
|
func NewUserWithdrawalTransfer() *UserWithdrawalTransfer {
|
|
return &UserWithdrawalTransfer{}
|
|
}
|