Files
ris-backend-go/types/staff.types.go
2024-12-12 09:53:29 +07:00

17 lines
498 B
Go

package types
type StaffStore interface {
GetStaff(name string) (*Staff, error)
}
type Staff struct {
M_StaffID int `json:"M_StaffID" db:"M_StaffID"`
M_StaffName string `json:"M_StaffName" db:"M_StaffName"`
M_StaffEmail string `json:"M_StaffEmail" db:"M_StaffEmail"`
M_StaffNakesID string `json:"M_StaffNakesID" db:"M_StaffNakesID"`
M_StaffIsActive string `json:"M_StaffIsActive" db:"M_StaffIsActive"`
}
type GetStaffPayload struct {
StaffName string `json:"staffname"`
}