Skip to content

Commit

Permalink
refactor : card responsedto에 walletId추가
Browse files Browse the repository at this point in the history
  • Loading branch information
AlmondBreez3 committed Nov 25, 2023
1 parent 8e28081 commit 4fe4942
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,13 @@ public class CardCreateResponseDto {

private String githubId;
private String colorCode;
private Long walletId;

@Builder
public CardCreateResponseDto(Long id, String nickname, String contact, Gender gender, String instagramId,
public CardCreateResponseDto(Long id, Long walletId,String nickname, String contact, Gender gender, String instagramId,
String blogUrl, String youtubeUrl, String githubId, String cardName, String introduce, String mbti, List<String> adjective, int age, String colorCode) {
this.id = id;
this.walletId = walletId;
this.nickname = nickname;
this.contact = contact;
this.gender = gender;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ private static SuccessResponse getSuccessResponse(Card saveCard) {
adjective(saveCard.getAdjective()).
mbti(saveCard.getMbti()).
colorCode(saveCard.getColorCode()).
walletId(saveCard.getWallet().getId()).
build();


Expand Down

0 comments on commit 4fe4942

Please sign in to comment.