Files
eth_transfer_go/app/admin/models/wm_wallet_info.go
2025-05-13 15:44:44 +08:00

31 lines
653 B
Go

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
}