mirror of
https://github.com/FJurmanovic/wallet-go-api.git
synced 2026-02-06 14:18:12 +00:00
implemented user deactivation
This commit is contained in:
@@ -3,6 +3,7 @@ package models
|
||||
type User struct {
|
||||
tableName struct{} `pg:"users,alias:users"`
|
||||
BaseModel
|
||||
IsActive bool `json:"isActive" pg:"is_active"`
|
||||
Username string `json:"username" pg:"username"`
|
||||
Password string `json:"password" pg:"password"`
|
||||
Email string `json:"email" pg:"email"`
|
||||
|
||||
Reference in New Issue
Block a user