package models import ( "time" ) type BotStockMarket struct { AmCloseTime string `xorm:"not null default '00:00' comment('上午盘闭盘时间') VARCHAR(50)"` AmOpenTime string `xorm:"not null default '00:00' comment('上午盘开盘时间') VARCHAR(50)"` CreateTime time.Time `xorm:"not null DATETIME"` Id int `xorm:"not null pk autoincr INT"` LeverMax int `xorm:"not null default 1 comment('最大杠杆') INT"` LeverMin int `xorm:"not null default 1 comment('最小杠杆') INT"` LeverStatus int `xorm:"not null default 1 comment('杠杆状态 1 开启 2关闭') SMALLINT"` PmCloseTime string `xorm:"not null default '00:00' comment('下午盘闭盘时间') VARCHAR(50)"` PmOpenTime string `xorm:"not null default '00:00' comment('下午盘开盘时间') VARCHAR(50)"` Rate string `xorm:"not null default '' comment('兑换汇率 支持小数') VARCHAR(255)"` Status int `xorm:"not null default 1 comment('状态 1 启用 2 禁用') SMALLINT"` StockMarketType int `xorm:"not null default 1 comment('股票市场类型 见配置') index SMALLINT"` StockMin int `xorm:"not null default 1 comment('最小股数量可以使用杠杆') INT"` Symbol string `xorm:"not null default '' comment('货币符号') VARCHAR(10)"` TradeDayType int `xorm:"not null default 1 comment('交易日限制 见配置') SMALLINT"` Unit string `xorm:"not null default '' comment('货币单位') VARCHAR(10)"` UpdateTime time.Time `xorm:"not null DATETIME"` }