mirror of
https://github.com/GMWalletApp/epusdt.git
synced 2026-07-07 02:06:16 +00:00
17 lines
346 B
Go
17 lines
346 B
Go
package mdb
|
|
|
|
const (
|
|
TokenStatusEnable = 1
|
|
TokenStatusDisable = 2
|
|
)
|
|
|
|
type WalletAddress struct {
|
|
Address string `gorm:"column:address;uniqueIndex:wallet_address_address_uindex" json:"address"`
|
|
Status int64 `gorm:"column:status;default:1" json:"status"`
|
|
BaseModel
|
|
}
|
|
|
|
func (w *WalletAddress) TableName() string {
|
|
return "wallet_address"
|
|
}
|