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.

30 lines
1.8 KiB

2 months ago
package models
import (
"time"
)
type BotRechargeApply struct {
AccountType int `xorm:"not null comment('充值账号类型:1现货,2合约,3美股') index(user_id) TINYINT(1)"`
Country string `xorm:"comment('国家') VARCHAR(50)"`
CreateTime time.Time `xorm:"not null comment('创建时间') DATETIME"`
CurrencyRate string `xorm:"comment('汇率') DECIMAL(36,5)"`
DealTime time.Time `xorm:"comment('充值完成时间') DATETIME"`
FileId int `xorm:"comment('文件ID') INT"`
Id int `xorm:"not null pk autoincr INT"`
IsCheck int `xorm:"comment('是否审核:1批准, 2拒绝') TINYINT(1)"`
IsOnline int `xorm:"comment('是否在线充值:1是,0否') index TINYINT(1)"`
MarketAmount string `xorm:"comment('换算的市场金额') DECIMAL(36,18)"`
OrderIdx string `xorm:"comment('第三方订单号') VARCHAR(100)"`
OrderNo string `xorm:"not null comment('充值订单号') VARCHAR(30)"`
PayUrl string `xorm:"comment('支付链接') VARCHAR(255)"`
RechargeChannel string `xorm:"comment('充值渠道') VARCHAR(30)"`
RechargeNum string `xorm:"not null comment('充值金额(美元)') DECIMAL(36,18)"`
RechargeType int `xorm:"not null comment('充值方式:1数字币,2银行卡') TINYINT(1)"`
ServiceFee string `xorm:"comment('手续费用') DECIMAL(36,2)"`
Status int `xorm:"not null comment('充值状态:0充值中,1充值已完成') index index(user_id) TINYINT(1)"`
TotalAmount string `xorm:"comment('总支付金额(渠道货币)') DECIMAL(36,5)"`
UpdateTime time.Time `xorm:"comment('更新时间') DATETIME"`
UserId int `xorm:"not null comment('用户ID') index(user_id) INT"`
}