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
846 B
16 lines
846 B
package sqlmodel
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type BoUserFundAccounts struct {
|
|
Id int64 `xorm:"pk autoincr comment('资金账户id') BIGINT"`
|
|
Userid int64 `xorm:"not null comment('用户id') index(userId) BIGINT"`
|
|
Fundaccounttype int `xorm:"not null comment('资金账号类型:1 现货USDT(充值默认账户) 2 合约USDT 3 马股资产 4 美股资产 5 日股资产 6 佣金账户USDT') index(userId) TINYINT"`
|
|
Fundaccount string `xorm:"not null comment('资金账号') index(userId) CHAR(20)"`
|
|
Money 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"`
|
|
}
|
|
|