admin core func done
This commit is contained in:
@@ -7,6 +7,7 @@ import (
|
||||
)
|
||||
|
||||
|
||||
|
||||
type Claims struct {
|
||||
UserID int
|
||||
Role int
|
||||
@@ -37,7 +38,8 @@ type User struct {
|
||||
Email string
|
||||
Phone string
|
||||
Password string
|
||||
RoleID int
|
||||
RoleID int
|
||||
AdminCode string
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
}
|
||||
@@ -71,6 +73,8 @@ type AddressDatabase struct {
|
||||
VisitedValidated bool
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
Assigned bool // <-- add this
|
||||
|
||||
}
|
||||
|
||||
// =====================
|
||||
|
||||
Reference in New Issue
Block a user