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.
17 lines
780 B
17 lines
780 B
package models
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type BotContractMarket struct {
|
|
BeginTime time.Time `xorm:"comment('开始时间') index index(trade_name) DATETIME"`
|
|
EndTime time.Time `xorm:"comment('结束时间') index(trade_name) DATETIME"`
|
|
Id int `xorm:"not null pk autoincr INT"`
|
|
IsGet int `xorm:"not null default 1 comment('类型:1 未领取 ,2 已领取') index TINYINT(1)"`
|
|
MaxPrice string `xorm:"comment('开盘价') DECIMAL(36,18)"`
|
|
MinPrice string `xorm:"comment('落盘价') DECIMAL(36,18)"`
|
|
Step int `xorm:"comment('调价步长') INT"`
|
|
TradeName string `xorm:"comment('交易对') index(trade_name) VARCHAR(255)"`
|
|
Type int `xorm:"comment('类型:0插针,1自发合约 ,2 自发现货') TINYINT(1)"`
|
|
}
|
|
|