package models

import (
	"time"
)

type BotUserStock 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"`
}