-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5536f61
commit aab24d8
Showing
3 changed files
with
24 additions
and
4 deletions.
There are no files selected for viewing
5 changes: 4 additions & 1 deletion
5
src/main/java/com/kakaoteck/golagola/domain/auth/dto/AuthRequest.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 |
---|---|---|
@@ -1,4 +1,7 @@ | ||
package com.kakaoteck.golagola.domain.auth.dto; | ||
|
||
public record AuthRequest() { | ||
public record AuthRequest( | ||
String email, | ||
String password | ||
) { | ||
} |
10 changes: 8 additions & 2 deletions
10
src/main/java/com/kakaoteck/golagola/domain/auth/dto/AuthResponse.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 |
---|---|---|
@@ -1,4 +1,10 @@ | ||
package com.kakaoteck.golagola.domain.auth.dto; | ||
|
||
public class AuthResponse { | ||
} | ||
import lombok.Builder; | ||
|
||
@Builder | ||
public record AuthResponse( | ||
String accessToken, | ||
String refreshToken | ||
) { | ||
} |
13 changes: 12 additions & 1 deletion
13
src/main/java/com/kakaoteck/golagola/domain/auth/dto/JoinUserRequest.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 |
---|---|---|
@@ -1,4 +1,15 @@ | ||
package com.kakaoteck.golagola.domain.auth.dto; | ||
|
||
public class JoinUserRequest { | ||
import com.kakaoteck.golagola.global.common.enums.Role; | ||
|
||
import java.time.LocalDate; | ||
|
||
public record JoinUserRequest( | ||
String email, | ||
String password, | ||
String nickname, | ||
String gender, | ||
LocalDate birthDate, | ||
Role role | ||
) { | ||
} |