auto logout
This commit is contained in:
16
types/staff.types.go
Normal file
16
types/staff.types.go
Normal file
@@ -0,0 +1,16 @@
|
||||
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"`
|
||||
}
|
||||
Reference in New Issue
Block a user