package models import ( "time" ) type BotHistoryFundStock struct { EndDate time.Time `xorm:"comment('结束日期') DATE"` EndPoint string `xorm:"comment('结束值 单位%') DECIMAL(8,2)"` HistoryInfo string `xorm:"comment('历史走势(json存储)') JSON"` Id int `xorm:"not null pk autoincr INT"` StartDate time.Time `xorm:"comment('起始日期') DATE"` StartPoint string `xorm:"comment('起始值 单位%') DECIMAL(8,2)"` StockCode string `xorm:"not null default '' comment('基金代码') unique VARCHAR(30)"` }