feat: update staff data
This commit is contained in:
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user