admin core func done

This commit is contained in:
Mann Patel
2025-08-27 13:21:11 -06:00
parent 9148f011ad
commit 6edd4ee030
29 changed files with 2152 additions and 1139 deletions

View File

@@ -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
}
// =====================