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.
29 lines
1.7 KiB
29 lines
1.7 KiB
package models
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type BotUserWithdrawal struct {
|
|
AccountType int `xorm:"not null comment('提现账户类型:1现货,2合约,3美股') TINYINT(1)"`
|
|
ApplyNum string `xorm:"not null comment('申请提现金额(美元)') DECIMAL(36,18)"`
|
|
ApplyType string `xorm:"not null comment('提现方式(数字币、银行卡)') VARCHAR(20)"`
|
|
Beizhu string `xorm:"comment('备注') VARCHAR(100)"`
|
|
ChannelId int `xorm:"comment('渠道ID') INT"`
|
|
Country string `xorm:"comment('国家') VARCHAR(100)"`
|
|
CreateTime time.Time `xorm:"not null comment('创建时间') DATETIME"`
|
|
CurrencyRate string `xorm:"comment('汇率') DECIMAL(36,18)"`
|
|
DealAdminId int `xorm:"default 0 comment('处理提现管理员ID') INT"`
|
|
DealTime time.Time `xorm:"comment('处理完成时间') DATETIME"`
|
|
DrawalType int `xorm:"comment('提现类型:1数字币,2银行卡') TINYINT(1)"`
|
|
Id int `xorm:"not null pk autoincr INT"`
|
|
MarketAmount string `xorm:"comment('换算的市场金额') DECIMAL(36,18)"`
|
|
OrderIdx string `xorm:"comment('第三方订单号') VARCHAR(100)"`
|
|
OrderNo string `xorm:"not null comment('订单号') index VARCHAR(20)"`
|
|
PayInfo string `xorm:"not null comment('提现到钱包数据') JSON"`
|
|
ServiceFee string `xorm:"not null comment('提现手续费用') DECIMAL(36,18)"`
|
|
Status int `xorm:"not null comment('订单状态:0处理中,1已审核,2已完成') TINYINT(1)"`
|
|
TotalAmount string `xorm:"comment('总支付金额(渠道货币)') DECIMAL(36,18)"`
|
|
UpdateTime time.Time `xorm:"comment('更新时间') DATETIME"`
|
|
UserId int `xorm:"not null comment('用户ID') index INT"`
|
|
}
|
|
|