13 lines
267 B
Go
Raw Normal View History

2023-10-08 15:59:42 +07:00
package entity
import "github.com/golang-jwt/jwt"
type JWTAuthClaims struct {
2024-06-03 14:40:50 +07:00
UserID int64 `json:"id"`
Name string `json:"name"`
Email string `json:"email"`
Role int `json:"role"`
PartnerID int64 `json:"partner_id"`
2023-10-08 15:59:42 +07:00
jwt.StandardClaims
}