13 lines
365 B
Java
13 lines
365 B
Java
package com.magamochi.authentication.model.dto;
|
|
|
|
import com.magamochi.user.model.enumeration.UserRole;
|
|
import jakarta.validation.constraints.NotNull;
|
|
|
|
public record AuthenticationResponseDTO(
|
|
@NotNull Long id,
|
|
@NotNull String accessToken,
|
|
@NotNull String refreshToken,
|
|
@NotNull String email,
|
|
@NotNull String name,
|
|
@NotNull UserRole role) {}
|