-
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.
* Add: 수정 요청할 데이터들을 담는 request 클래스 * Add: user 엔티티로 담을 dto 클래스 * Feat: 프로필 수정 controller * Feat: 데이터를 수정하기 위한 service 게층 메소드 * Feat: user 객체를 update 하기 위한 메소드 * Remove: 불필요한 코드 제거
- Loading branch information
1 parent
5a4a5af
commit 530f928
Showing
5 changed files
with
54 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
8 changes: 8 additions & 0 deletions
8
src/main/java/com/openbook/openbook/api/user/request/UserModifyRequest.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,8 @@ | ||
package com.openbook.openbook.api.user.request; | ||
|
||
public record UserModifyRequest( | ||
String name, | ||
String nickname, | ||
String email | ||
) { | ||
} |
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
11 changes: 11 additions & 0 deletions
11
src/main/java/com/openbook/openbook/service/user/dto/UserUpdateDto.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,11 @@ | ||
package com.openbook.openbook.service.user.dto; | ||
|
||
import lombok.Builder; | ||
|
||
@Builder | ||
public record UserUpdateDto( | ||
String name, | ||
String nickname, | ||
String email | ||
) { | ||
} |