From a3f283e170a5be0d11f6a83cdfd5d4b71d90e900 Mon Sep 17 00:00:00 2001 From: seulgi99 Date: Fri, 30 Aug 2024 13:08:20 +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?= 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());