From a3b33129ba84b1cb0bc534e79e4432cd1bb55216 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=8A=AC=EA=B8=B0?= <84620016+seulgi99@users.noreply.github.com> Date: Fri, 30 Aug 2024 13:12:05 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EB=8C=80=EC=8B=9C=EB=B3=B4?= =?UTF-8?q?=EB=93=9C=20response=EC=97=90=20feeName=20=ED=95=84=EB=93=9C=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80=20(#719)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/recruitment/dto/RecruitmentRoundFullDto.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/gdschongik/gdsc/domain/recruitment/dto/RecruitmentRoundFullDto.java b/src/main/java/com/gdschongik/gdsc/domain/recruitment/dto/RecruitmentRoundFullDto.java index 44f6c529a..16af34cde 100644 --- a/src/main/java/com/gdschongik/gdsc/domain/recruitment/dto/RecruitmentRoundFullDto.java +++ b/src/main/java/com/gdschongik/gdsc/domain/recruitment/dto/RecruitmentRoundFullDto.java @@ -6,12 +6,19 @@ import java.math.BigDecimal; public record RecruitmentRoundFullDto( - Long recruitmentId, String name, Period period, BigDecimal fee, RoundType roundType, String roundTypeValue) { + Long recruitmentId, + String name, + Period period, + String feeName, + BigDecimal fee, + RoundType roundType, + String roundTypeValue) { public static RecruitmentRoundFullDto from(RecruitmentRound recruitmentRound) { return new RecruitmentRoundFullDto( recruitmentRound.getId(), recruitmentRound.getName(), recruitmentRound.getPeriod(), + recruitmentRound.getRecruitment().getFeeName(), recruitmentRound.getRecruitment().getFee().getAmount(), recruitmentRound.getRoundType(), recruitmentRound.getRoundType().getValue());