-
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.
Merge pull request #24 from 2024-pre-onboarding-backend-F/refactor/us…
…er_login [refactor] 전체 DTO 수정 및 추가
- Loading branch information
Showing
7 changed files
with
84 additions
and
25 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
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
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,13 @@ | ||
package wanted.ribbon.user.dto; | ||
|
||
import lombok.Getter; | ||
import lombok.Setter; | ||
|
||
@Getter | ||
@Setter | ||
public class ProfileRequest { | ||
private String id; | ||
private double lat; | ||
private double lon; | ||
private boolean recommend; | ||
} |
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,9 @@ | ||
package wanted.ribbon.user.dto; | ||
|
||
public record ProfileResponse( | ||
String message, | ||
String id, | ||
double lat, | ||
double lon, | ||
boolean recommend | ||
) { } |
6 changes: 5 additions & 1 deletion
6
...d/ribbon/user/dto/SignUpUserResponse.java → ...anted/ribbon/user/dto/SignUpResponse.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,6 +1,10 @@ | ||
package wanted.ribbon.user.dto; | ||
|
||
public record SignUpUserResponse( | ||
import java.util.UUID; | ||
|
||
public record SignUpResponse( | ||
String message, | ||
UUID userId, | ||
String id | ||
|
||
) { } |
12 changes: 12 additions & 0 deletions
12
src/main/java/wanted/ribbon/user/dto/UpdateUserResponse.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,12 @@ | ||
package wanted.ribbon.user.dto; | ||
|
||
import java.util.UUID; | ||
|
||
public record UpdateUserResponse( | ||
String message, | ||
UUID userId, | ||
double lat, | ||
double lon, | ||
boolean recommend | ||
) { } | ||
|
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