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(); }