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.
16 lines
646 B
16 lines
646 B
2 months ago
|
package models
|
||
|
|
||
|
import (
|
||
|
"time"
|
||
|
)
|
||
|
|
||
|
type BotUserMoney 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:USD代表美金,其他代表股票代码') 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"`
|
||
|
}
|