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.

18 lines
857 B

2 months ago
package models
import (
"time"
)
type BotUserContractSecLog struct {
BeforeNum string `xorm:"not null comment('变动前余额') DECIMAL(36,18)"`
ChangeNum string `xorm:"not null comment('变动资产数量') DECIMAL(36,18)"`
ChangeType int `xorm:"not null default 0 comment('变动类型:1-充值,2-提现,3-买入,4-卖出,5-冻结,6-解冻,7账户转出,8账户转入') index(user_id) TINYINT(1)"`
ContractId string `xorm:"not null comment('合约交易对ID') index(user_id) VARCHAR(15)"`
CreateTime time.Time `xorm:"not null comment('创建时间') DATETIME"`
Id int `xorm:"not null pk autoincr INT"`
OrderId string `xorm:"comment('订单号') VARCHAR(60)"`
UpdateTime time.Time `xorm:"comment('更新时间') DATETIME"`
UserId int `xorm:"not null comment('用户ID') index(user_id) INT"`
}