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.
17 lines
833 B
17 lines
833 B
package sqlmodel
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type BoUserFundAccountSpots struct {
|
|
Id int64 `xorm:"pk autoincr comment('资金账户id') BIGINT"`
|
|
Fundaccountsid int64 `xorm:"not null comment('用户USDT现货资金表id') BIGINT"`
|
|
Userid int64 `xorm:"not null comment('用户id') BIGINT"`
|
|
Fundaccountspot string `xorm:"not null comment('资金账号') VARCHAR(100)"`
|
|
Fundaccountname string `xorm:"not null comment('资金账户名称-对应币名') VARCHAR(30)"`
|
|
Spotmoney string `xorm:"not null default 0.000000 comment('账户金额(与对应持仓表对应)') DECIMAL(15,6)"`
|
|
Unit string `xorm:"comment('单位') VARCHAR(60)"`
|
|
Addtime time.Time `xorm:"comment('创建时间') DATETIME"`
|
|
Updatetime time.Time `xorm:"comment('更新时间') DATETIME"`
|
|
}
|
|
|