-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor #96: 특정 멤버, 날짜로 집안일 조회 시 쿼리 많은 문제 수정
- Loading branch information
Showing
5 changed files
with
53 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
src/main/java/com/depromeet/fairer/vo/houseWork/HouseWorkAndAssigneeResponseDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package com.depromeet.fairer.vo.houseWork; | ||
|
||
import io.swagger.annotations.ApiModel; | ||
import io.swagger.annotations.ApiModelProperty; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
|
||
import java.util.List; | ||
|
||
@Getter | ||
@NoArgsConstructor @AllArgsConstructor | ||
@ApiModel(value = "특정 멤버, 날짜에 할당된 집안일 모두 조회 반환 객체", description = "특정 멤버, 날짜에 할당된 집안일 모두 조회 반환 객체") | ||
public class HouseWorkAndAssigneeResponseDto { | ||
|
||
@ApiModelProperty(value = "집안일, 담당자 객체 리스트") | ||
private List<HouseWorkAndAssigneeVo> houseWorkAndAssigneeVos; | ||
|
||
@ApiModelProperty(value = "완료한 집안일 갯수") | ||
private int successCount; | ||
|
||
@ApiModelProperty(value = "남은 집안일 갯수") | ||
private int leftCount; | ||
|
||
public HouseWorkAndAssigneeResponseDto(List<HouseWorkAndAssigneeVo> houseWorkAndAssigneeVos, long successCount, long leftCount) { | ||
this.houseWorkAndAssigneeVos = houseWorkAndAssigneeVos; | ||
this.successCount = (int) successCount; | ||
this.leftCount = (int) leftCount; | ||
} | ||
} |
15 changes: 0 additions & 15 deletions
15
src/main/java/com/depromeet/fairer/vo/houseWork/PooClass.java
This file was deleted.
Oops, something went wrong.