package models import ( "go-admin/common/models" "github.com/shopspring/decimal" ) type WmWalletInfo struct { models.Model PrivateKey string `json:"privateKey" gorm:"type:varchar(50);comment:钱包私钥"` Address string `json:"address" gorm:"type:varchar(50);comment:钱包地址"` UsdcAmount decimal.Decimal `json:"usdcAmount" gorm:"type:decimal(18,8);comment:USDC余额"` models.ModelTime models.ControlBy } func (WmWalletInfo) TableName() string { return "wm_wallet_info" } func (e *WmWalletInfo) Generate() models.ActiveRecord { o := *e return &o } func (e *WmWalletInfo) GetId() interface{} { return e.Id }