-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: 미션 기록 완료 리스트 * feat: 미션 기록 완료 리스트 Projection 개선 * refactor: 미션 완료 기록 리스트 조건 및 DTO 수정 * fix: completedAt Type 체크
- Loading branch information
Showing
7 changed files
with
128 additions
and
8 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
25 changes: 25 additions & 0 deletions
25
...om/depromeet/stonebed/domain/missionRecord/dto/response/MissionRecordTabListResponse.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,25 @@ | ||
package com.depromeet.stonebed.domain.missionRecord.dto.response; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import java.util.List; | ||
|
||
public record MissionRecordTabListResponse( | ||
@Schema( | ||
description = "미션 탭 목록", | ||
example = | ||
"[" | ||
+ "{" | ||
+ "\"recordId\": 1," | ||
+ "\"imageUrl\": \"example.jpeg\"," | ||
+ "\"status\": \"NOT_COMPLETED\"," | ||
+ "\"missionTitle\": \"산책하기\"," | ||
+ "\"illustrationUrl\": \"example.jpeg\"," | ||
+ "\"content\": \"오늘 마실다녀왔어요\"," | ||
+ "\"completedAt\": \"2021-10-10\"" | ||
+ "}" | ||
+ "]") | ||
List<MissionTabResponse> list) { | ||
public static MissionRecordTabListResponse from(List<MissionTabResponse> list) { | ||
return new MissionRecordTabListResponse(list); | ||
} | ||
} |
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