package com.tourguide.security; import com.tourguide.modules.user.domain.ClientType; public class TokenPayload { private final Long userId; private final String username; private final String role; private final ClientType clientType; private final String tokenId; public TokenPayload(Long userId, String username, String role, ClientType clientType, String tokenId) { this.userId = userId; this.username = username; this.role = role; this.clientType = clientType; this.tokenId = tokenId; } public Long getUserId() { return userId; } public String getUsername() { return username; } public String getRole() { return role; } public ClientType getClientType() { return clientType; } public String getTokenId() { return tokenId; } }