This commit is contained in:
Ashang
2022-04-04 16:01:36 +08:00
commit 20c576b9bc
72 changed files with 4680 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
package mdb
const (
TokenStatusEnable = 1
TokenStatusDisable = 2
)
// WalletAddress 钱包表
type WalletAddress struct {
Token string `gorm:"column:token" json:"token"` // 钱包token
Status int64 `gorm:"column:status" json:"status"` // 1:启用 2:禁用
BaseModel
}
// TableName sets the insert table name for this struct type
func (w *WalletAddress) TableName() string {
return "wallet_address"
}