Skip to content

Commit

Permalink
[ADD] 소원 이미지 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
wlwpfh committed Nov 9, 2024
1 parent 6b6aaba commit be4d28d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import org.apache.commons.lang3.StringUtils;

@Builder
public record WishResponseDTO(String name, long dayCount, String title, String hint, String bank, String accountNumber, boolean wantsGift) {
public record WishResponseDTO(String name, long dayCount, String title, String hint, String bank, String accountNumber, boolean wantsGift, String presentImageUrl) {

public static WishResponseDTO from(Wish wish) {
val name = nonNull(wish.getWisher().getAccount())
Expand All @@ -33,6 +33,7 @@ public static WishResponseDTO from(Wish wish) {
.dayCount(getRemainDayCount(wish.getEndAt()))
.title(wish.getTitle())
.wantsGift(wish.isWantsGift())
.presentImageUrl(wish.getPresentImageUrl())
.build();
}

Expand Down

0 comments on commit be4d28d

Please sign in to comment.