diff --git a/pkg/internal/models/wallet.go b/pkg/internal/models/wallet.go index eeca71e..b8866e2 100644 --- a/pkg/internal/models/wallet.go +++ b/pkg/internal/models/wallet.go @@ -9,7 +9,7 @@ import ( type Wallet struct { cruda.BaseModel - Balance decimal.Decimal `json:"amount" sql:"type:decimal(30,2);"` + Balance decimal.Decimal `json:"balance" sql:"type:decimal(30,2);"` Password string `json:"password"` AccountID uint `json:"account_id"` }