diff --git a/src/main/java/com/gcms/v3/domain/auth/presentation/data/response/TokenInfoResponseDto.java b/src/main/java/com/gcms/v3/domain/auth/presentation/data/response/TokenInfoResponseDto.java index 004eb24..9adc2d8 100644 --- a/src/main/java/com/gcms/v3/domain/auth/presentation/data/response/TokenInfoResponseDto.java +++ b/src/main/java/com/gcms/v3/domain/auth/presentation/data/response/TokenInfoResponseDto.java @@ -1,15 +1,14 @@ package com.gcms.v3.domain.auth.presentation.data.response; import lombok.Builder; -import lombok.Getter; import java.time.LocalDateTime; -@Getter @Builder -public class TokenInfoResponseDto { - private String accessToken; - private String refreshToken; - private LocalDateTime accessTokenExpiresIn; - private LocalDateTime refreshTokenExpiresIn; +public record TokenInfoResponseDto( + String accessToken, + String refreshToken, + LocalDateTime accessTokenExpiresIn, + LocalDateTime refreshTokenExpiresIn +) { }