-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UserController 및 Service 합치기
- Loading branch information
Showing
6 changed files
with
35 additions
and
77 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
27 changes: 0 additions & 27 deletions
27
src/main/java/com/mpnp/baechelin/user/controller/UserInfoController.java
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
src/main/java/com/mpnp/baechelin/user/dto/UserInfoResponseDto.java
This file was deleted.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
src/main/java/com/mpnp/baechelin/user/dto/UserResponseDto.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,19 @@ | ||
package com.mpnp.baechelin.user.dto; | ||
|
||
|
||
import com.mpnp.baechelin.user.domain.User; | ||
import lombok.*; | ||
|
||
@Builder | ||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
@Getter | ||
public class UserResponseDto { | ||
private String name; | ||
private String email; | ||
|
||
public UserResponseDto(User user) { | ||
this.name = user.getName(); | ||
this.email = user.getEmail(); | ||
} | ||
} |
21 changes: 0 additions & 21 deletions
21
src/main/java/com/mpnp/baechelin/user/service/UserInfoService.java
This file was deleted.
Oops, something went wrong.
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