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
711 B
16 lines
711 B
package models
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type BotUserWalletaddress struct {
|
|
AdrId int `xorm:"not null pk autoincr INT"`
|
|
CreateTime time.Time `xorm:"not null comment('创建时间') DATETIME"`
|
|
IsDefault int `xorm:"not null default 0 comment('是否默认:0不默认,1默认') TINYINT(1)"`
|
|
Remark string `xorm:"not null comment('备注') VARCHAR(30)"`
|
|
UpdateTime time.Time `xorm:"comment('更新时间') DATETIME"`
|
|
UserId int `xorm:"not null comment('用户ID') index(user_id) INT"`
|
|
WalletAddress string `xorm:"not null comment('钱包地址') VARCHAR(100)"`
|
|
WalletType string `xorm:"not null comment('钱包类型') index(user_id) VARCHAR(20)"`
|
|
}
|
|
|