package models import ( "time" ) type BotUserStockJp struct { CreateTime time.Time `xorm:"not null comment('创建时间') DATETIME"` FrozenNum string `xorm:"not null comment('资产冻结数量') DECIMAL(36,18)"` Id int `xorm:"not null pk autoincr INT"` StockId string `xorm:"not null comment('股票类型ID:SGD代表新币,其他代表股票代码') unique(user_id) VARCHAR(100)"` UpdateTime time.Time `xorm:"comment('更新时间') DATETIME"` UsableNum string `xorm:"not null comment('可用资产数量') DECIMAL(36,18)"` UserId int `xorm:"not null comment('用户ID') unique(user_id) INT"` }