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.
22 lines
1.0 KiB
22 lines
1.0 KiB
package models
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type BotForexList struct {
|
|
CompelNum string `xorm:"comment('强制平仓比例') DECIMAL(36,18)"`
|
|
CreateTime time.Time `xorm:"not null comment('创建时间') DATETIME"`
|
|
FaceValue int64 `xorm:"comment('面值') BIGINT"`
|
|
Id int `xorm:"not null pk autoincr INT"`
|
|
Info string `xorm:"not null comment('数字货币简介') TEXT"`
|
|
IsOwner int `xorm:"comment('是否自发') TINYINT(1)"`
|
|
KeepDecimal int `xorm:"comment('保留小数位') INT"`
|
|
LogoLink string `xorm:"comment('logo链接') VARCHAR(255)"`
|
|
MaxPry int `xorm:"comment('最大杠杆') INT"`
|
|
MinPry int `xorm:"comment('最小杠杆') INT"`
|
|
Sort int `xorm:"not null default 0 comment('排序') INT"`
|
|
Status int `xorm:"not null comment('启用状态:0未启用,1已启用') index TINYINT(1)"`
|
|
TradeName string `xorm:"not null comment('合约交易对名称') unique VARCHAR(10)"`
|
|
UpdateTime time.Time `xorm:"comment('更新时间') DATETIME"`
|
|
}
|
|
|