package models

import (
	"time"
)

type BotUserForex struct {
	ContractId string    `xorm:"not null comment('合约交易对ID ,usdt ,其他表示对应的合约ID') unique(user_id) VARCHAR(15)"`
	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"`
	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"`
}