Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
필드 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
ori0o0p committed Feb 18, 2024
1 parent f4cd74d commit 6a97e80
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@

@Builder
public record GetUserResponse(
String id,
String userId,
String documentId,
String name,
String major,
File profile
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ public class UserMapper {

public Mono<GetUserResponse> userToGetUserResponse(User user) {
return Mono.just(GetUserResponse.builder()
.id(user.getId())
.userId(user.getId())
.documentId(user.getDocumentId())
.name(user.getName())
.major(user.getMajor().getMajor())
.profile(user.getProfile())
Expand Down

0 comments on commit 6a97e80

Please sign in to comment.