package models import ( "time" ) type BotUserStockFund 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('货币单位') 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"` }