feat: get user/staff profile

This commit is contained in:
ericprd
2025-02-27 18:59:58 +08:00
parent 290c0edff7
commit 5fb0764630
19 changed files with 426 additions and 4 deletions
+2
View File
@@ -11,7 +11,9 @@ type StaffRepository struct {
type StaffIntf interface {
GetStaffByEmail(string) (*authdomain.Staff, error)
GetStaffByID(string) (*authdomain.Staff, error)
Create(*authdomain.Staff) (*authdomain.Staff, error)
Update(authdomain.Staff) error
}
func New(db *database.DB) StaffIntf {