-
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.
Merge pull request #97 from depromeet/refact/houseWork-220625-temp
Refact/house work 220625 temp
- Loading branch information
Showing
9 changed files
with
135 additions
and
72 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
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; | ||
} | ||
} |
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/HouseWorkDetailVo.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 com.depromeet.fairer.domain.preset.constant.Space; | ||
import lombok.Getter; | ||
import lombok.Setter; | ||
|
||
import java.time.LocalDateTime; | ||
import java.time.LocalTime; | ||
import java.util.List; | ||
|
||
@Getter | ||
@Setter | ||
public class HouseWorkDetailVo { | ||
|
||
private Long houseWorkId; | ||
|
||
private Space space; | ||
|
||
private String houseWorkName; | ||
|
||
private LocalTime scheduledTime; | ||
|
||
private LocalDateTime successDateTime; | ||
|
||
private Boolean success; | ||
|
||
private Long memberId; | ||
private String memberName; | ||
private String profilePath; | ||
} |
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.