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.

15 lines
954 B

package sqlmodel
// BoUserOptionalStocks 自选股表
type BoUserOptionalStocks struct {
Id int64 `xorm:"id pk autoincr comment('自选股id') BIGINT"`
Userid int64 `xorm:"userId not null comment('用户id') unique(userId) BIGINT"`
Boursetype int `xorm:"bourseType not null comment('所属类型:1 数字币 2 股票 (冗余)') TINYINT"`
Systemboursesid int64 `xorm:"systemBoursesId not null comment('交易所股种id:1 现货 2 合约 3 马股 4 美股 5 日股') BIGINT"`
Stockcode string `xorm:"stockCode not null comment('股票代码') unique(userId) VARCHAR(100)"`
Icon string `xorm:"icon comment('图标') VARCHAR(100)"`
Unit string `xorm:"unit comment('单位') VARCHAR(60)"`
Fullname string `xorm:"fullName comment('全称') VARCHAR(180)"`
Beforeclose string `xorm:"beforeClose DECIMAL(15,6)"`
Yesterdayclose string `xorm:"yesterdayClose DECIMAL(15,6)"`
}