From be4d28d4057f136e1b0705340b064abab580337c Mon Sep 17 00:00:00 2001 From: yang Jiyoung <0112jyoung@naver.com> Date: Sat, 9 Nov 2024 11:51:33 +0900 Subject: [PATCH] =?UTF-8?q?[ADD]=20=EC=86=8C=EC=9B=90=20=EC=9D=B4=EB=AF=B8?= =?UTF-8?q?=EC=A7=80=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/sopterm/makeawish/dto/wish/WishResponseDTO.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); }