auth wip
This commit is contained in:
@@ -7,12 +7,16 @@ import (
|
||||
type AuthKey struct{}
|
||||
|
||||
type AuthInfo struct {
|
||||
Uuid string
|
||||
User_Id uint
|
||||
User_Name string
|
||||
// User_Email string
|
||||
// User_Ref_Id int
|
||||
User_Position_Code string
|
||||
Uuid string
|
||||
User_Id uint
|
||||
User_Name string
|
||||
User_DivisionPosition []DivisionPosition
|
||||
User_Position_Code string
|
||||
}
|
||||
|
||||
type DivisionPosition struct {
|
||||
Division_Code string
|
||||
DivisionPosition_Code string
|
||||
}
|
||||
|
||||
func (a AuthInfo) IsDoctor() bool {
|
||||
|
||||
Reference in New Issue
Block a user