diff --git a/src/main/java/com/sopterm/makeawish/dto/wish/WishResponseDTO.java b/src/main/java/com/sopterm/makeawish/dto/wish/WishResponseDTO.java index 20c2be9..b74d3f0 100644 --- a/src/main/java/com/sopterm/makeawish/dto/wish/WishResponseDTO.java +++ b/src/main/java/com/sopterm/makeawish/dto/wish/WishResponseDTO.java @@ -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()) @@ -33,6 +33,7 @@ public static WishResponseDTO from(Wish wish) { .dayCount(getRemainDayCount(wish.getEndAt())) .title(wish.getTitle()) .wantsGift(wish.isWantsGift()) + .presentImageUrl(wish.getPresentImageUrl()) .build(); }