From 740a5d81f9e28f1a39958211a7e20a1ca2d60432 Mon Sep 17 00:00:00 2001 From: DrRivaski Date: Mon, 19 Aug 2024 14:15:42 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EB=B3=80=EC=88=98=EB=AA=85=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - drawParticipationCount -> drawAttendanceCount --- .../fo_domain/draw/dto/main/DrawMainResponseDto.java | 2 +- .../draw/util/DrawResponseGenerateUtil.java | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/softeer/backend/fo_domain/draw/dto/main/DrawMainResponseDto.java b/src/main/java/com/softeer/backend/fo_domain/draw/dto/main/DrawMainResponseDto.java index c4d4825c..71ea920c 100644 --- a/src/main/java/com/softeer/backend/fo_domain/draw/dto/main/DrawMainResponseDto.java +++ b/src/main/java/com/softeer/backend/fo_domain/draw/dto/main/DrawMainResponseDto.java @@ -12,5 +12,5 @@ public class DrawMainResponseDto { private int invitedNum; // 내가 초대한 친구 수 private int remainDrawCount; // 남은 복권 기회 - private int drawParticipationCount; // 연속 참여 일수 + private int drawAttendanceCount; // 연속 참여 일수 } diff --git a/src/main/java/com/softeer/backend/fo_domain/draw/util/DrawResponseGenerateUtil.java b/src/main/java/com/softeer/backend/fo_domain/draw/util/DrawResponseGenerateUtil.java index d9c2e222..a7a3f633 100644 --- a/src/main/java/com/softeer/backend/fo_domain/draw/util/DrawResponseGenerateUtil.java +++ b/src/main/java/com/softeer/backend/fo_domain/draw/util/DrawResponseGenerateUtil.java @@ -26,14 +26,14 @@ public class DrawResponseGenerateUtil { * * @param invitedNum 초대한 사람 수 * @param remainDrawCount 남은 추첨 기회 - * @param drawParticipationCount 연속 출석 일수 + * @param drawAttendanceCount 연속 출석 일수 * @return 7일 연속 출석 상품 모달 */ - public DrawMainFullAttendResponseDto generateMainFullAttendResponse(int invitedNum, int remainDrawCount, int drawParticipationCount) { + public DrawMainFullAttendResponseDto generateMainFullAttendResponse(int invitedNum, int remainDrawCount, int drawAttendanceCount) { return DrawMainFullAttendResponseDto.builder() .invitedNum(invitedNum) .remainDrawCount(remainDrawCount) - .drawParticipationCount(drawParticipationCount) + .drawAttendanceCount(drawAttendanceCount) .fullAttendModal(drawModalGenerateUtil.generateWinModal(7)) .build(); } @@ -43,14 +43,14 @@ public DrawMainFullAttendResponseDto generateMainFullAttendResponse(int invitedN * * @param invitedNum 초대한 사람 수 * @param remainDrawCount 남은 추첨 기회 - * @param drawParticipationCount 연속 출석 일수 + * @param drawAttendanceCount 연속 출석 일수 * @return 7일 미만 출석 상품 모달 */ - public DrawMainResponseDto generateMainNotAttendResponse(int invitedNum, int remainDrawCount, int drawParticipationCount) { + public DrawMainResponseDto generateMainNotAttendResponse(int invitedNum, int remainDrawCount, int drawAttendanceCount) { return DrawMainResponseDto.builder() .invitedNum(invitedNum) .remainDrawCount(remainDrawCount) - .drawParticipationCount(drawParticipationCount) + .drawAttendanceCount(drawAttendanceCount) .build(); }