From 4ecea7ad06611290896961c9b5bfe6a308f97b22 Mon Sep 17 00:00:00 2001 From: yumzen Date: Sun, 29 Sep 2024 00:28:41 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20Contest=20=EB=B0=98=ED=99=98=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gongjakso/server/domain/apply/dto/response/ApplyRes.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/com/gongjakso/server/domain/apply/dto/response/ApplyRes.java b/src/main/java/com/gongjakso/server/domain/apply/dto/response/ApplyRes.java index 4cbf196..d4178d0 100644 --- a/src/main/java/com/gongjakso/server/domain/apply/dto/response/ApplyRes.java +++ b/src/main/java/com/gongjakso/server/domain/apply/dto/response/ApplyRes.java @@ -27,6 +27,9 @@ public record ApplyRes( @NotNull Long teamId, + @NotNull + Long contestId, + @NotNull Long applicantId, @@ -107,6 +110,7 @@ public static ApplyRes of(Apply apply) { return ApplyRes.builder() .id(apply.getId()) .teamId(apply.getTeam().getId()) + .contestId(apply.getTeam().getContest().getId()) .title(apply.getTeam().getTitle()) .applicantId(apply.getMember().getId()) .applicantName(apply.getMember().getName())