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.

16 lines
664 B

2 months ago
package models
import (
"time"
)
type BotTradeFee struct {
AccountType int `xorm:"not null comment('账户类型:1现货,2合约,3美股') index(user_id) TINYINT(1)"`
CreateTime time.Time `xorm:"not null comment('时间') DATETIME"`
Id int `xorm:"not null pk autoincr INT"`
ServiceFee string `xorm:"not null comment('交易手续费用') DECIMAL(36,18)"`
TradeNo string `xorm:"not null comment('交易单号') VARCHAR(60)"`
TradeType int `xorm:"not null comment('交易类型:1买入,2卖出') index(user_id) TINYINT(1)"`
UserId int `xorm:"not null comment('用户ID') index(user_id) INT"`
}