Skip to content

Commit

Permalink
refactor: 변수명 변경
Browse files Browse the repository at this point in the history
- drawParticipationCount -> drawAttendanceCount
  • Loading branch information
DrRivaski committed Aug 19, 2024
1 parent 00d4e38 commit 740a5d8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
public class DrawMainResponseDto {
private int invitedNum; // 내가 초대한 친구 수
private int remainDrawCount; // 남은 복권 기회
private int drawParticipationCount; // 연속 참여 일수
private int drawAttendanceCount; // 연속 참여 일수
}
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand All @@ -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();
}

Expand Down

0 comments on commit 740a5d8

Please sign in to comment.