feat: update staff data

This commit is contained in:
ericprd
2025-03-14 12:41:11 +08:00
parent 1297c71200
commit 11bc19360c
31 changed files with 130 additions and 115 deletions
+1
View File
@@ -4,4 +4,5 @@ type AuthToken struct {
Email string
SessionID string
Role string
ID string
}
+6
View File
@@ -15,6 +15,12 @@ type StaffRegister struct {
ProfilePicture string `json:"profile_picture"`
}
type StaffUpdate struct {
Email string `json:"email" validate:"required"`
Name string `json:"name" validate:"required"`
ProfilePicture string `json:"profile_picture"`
}
type StaffProfile struct {
ID string `json:"id"`
Name string `json:"name"`