Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…erver into juwon/#67
  • Loading branch information
Juser0 committed Nov 24, 2023
2 parents 5eb2f94 + c2a4ef2 commit 2515013
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import com.favor.favor.anniversary.AnniversaryResponseDto;
import com.favor.favor.common.enums.Favor;
import com.favor.favor.photo.UserPhoto;
import com.favor.favor.reminder.ReminderResponseDto;
import com.favor.favor.reminder.ReminderSimpleDto;
import com.favor.favor.user.User;
import lombok.*;
Expand All @@ -29,7 +28,9 @@ public class FriendResponseDto {

private Long userNo;
private String friendId;
private UserPhoto photo;
private UserPhoto userPhoto;

private UserPhoto userBackgroundPhoto;

@Builder
public FriendResponseDto(Friend friend,
Expand All @@ -51,6 +52,7 @@ public FriendResponseDto(Friend friend,
this.totalGift = giftInfo.get("total");
this.userNo = friend.getFriendUserNo();
this.friendId = friendId;
this.photo = friendUser.getUserProfilePhoto();
this.userPhoto = friendUser.getUserProfilePhoto();
this.userBackgroundPhoto = friendUser.getUserBackgroundPhoto();
}
}

0 comments on commit 2515013

Please sign in to comment.