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.
15 lines
555 B
15 lines
555 B
2 months ago
|
package models
|
||
|
|
||
|
import (
|
||
|
"time"
|
||
|
)
|
||
|
|
||
|
type BotUserMarket struct {
|
||
|
CreateTime time.Time `xorm:"not null comment('时间') index(user_id) DATETIME"`
|
||
|
Id int `xorm:"not null pk autoincr INT"`
|
||
|
MarketName string `xorm:"not null comment('交易对名称') VARCHAR(30)"`
|
||
|
MarketType int `xorm:"not null comment('市场类型:1现货,2合约,3美股') index(user_id) TINYINT(1)"`
|
||
|
TradeName string `xorm:"not null comment('交易对') VARCHAR(30)"`
|
||
|
UserId int `xorm:"not null comment('用户ID') index(user_id) INT"`
|
||
|
}
|