-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[refactor/#272] add version info Apple Login & Signup DTO
[refactor/#272] add version info Apple Login & Signup DTO
- Loading branch information
Showing
4 changed files
with
164 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
src/main/java/umc/th/juinjang/model/dto/auth/LoginResponseVersion2Dto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package umc.th.juinjang.model.dto.auth; | ||
|
||
import lombok.AccessLevel; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
|
||
@Getter | ||
@NoArgsConstructor(access = AccessLevel.PROTECTED) | ||
public class LoginResponseVersion2Dto { | ||
|
||
private String accessToken; | ||
private String refreshToken; | ||
private String email; | ||
private String agreeVersion; | ||
|
||
@Builder | ||
public LoginResponseVersion2Dto(String accessToken, String refreshToken, String email, String agreeVersion) { | ||
this.accessToken = accessToken; | ||
this.refreshToken = refreshToken; | ||
this.email = email; | ||
this.agreeVersion = agreeVersion; | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
src/main/java/umc/th/juinjang/model/dto/auth/apple/AppleSignUpRequestVersion2Dto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package umc.th.juinjang.model.dto.auth.apple; | ||
|
||
import jakarta.validation.constraints.NotEmpty; | ||
import lombok.AccessLevel; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
|
||
@Getter | ||
@NoArgsConstructor(access = AccessLevel.PROTECTED) | ||
public class AppleSignUpRequestVersion2Dto { | ||
|
||
@NotEmpty | ||
private String identityToken; | ||
@NotEmpty | ||
private String nickname; | ||
|
||
@NotEmpty | ||
private String agreeVersion; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters