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)"` }