package models import ( "time" ) type BotStockPricesSetting struct { CreateTime time.Time `xorm:"comment('创建时间') DATETIME"` Id int `xorm:"not null pk autoincr INT"` MarketType int `xorm:"not null comment('股票市场 见配置') index SMALLINT"` Price string `xorm:"not null default 0.000000000000000000 comment('多个价格英文逗号分隔') DECIMAL(36,18)"` Status int `xorm:"not null default 1 comment('盘前状态 1 开启 2 关闭') SMALLINT"` StockId int `xorm:"not null comment('股票主键') index INT"` UpdateTime time.Time `xorm:"comment('修改时间') DATETIME"` }