init project
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package entity
|
||||
|
||||
import "github.com/golang-jwt/jwt"
|
||||
|
||||
type JWTAuthClaims struct {
|
||||
UserID int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Email string `json:"email"`
|
||||
Role int `json:"role"`
|
||||
BranchID int64 `json:"branch_id"`
|
||||
jwt.StandardClaims
|
||||
}
|
||||
Reference in New Issue
Block a user