-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor/#368 : Analysis를 CalorieAnalysis로 의도가 더 구체적으로 드러나게 수정
- Loading branch information
1 parent
8f1e9e8
commit d95132b
Showing
13 changed files
with
76 additions
and
70 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
11 changes: 0 additions & 11 deletions
11
...c/main/java/com/gaebaljip/exceed/application/port/in/nutritionist/GetAnalysisUsecase.java
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
...java/com/gaebaljip/exceed/application/port/in/nutritionist/GetCalorieAnalysisUsecase.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,11 @@ | ||
package com.gaebaljip.exceed.application.port.in.nutritionist; | ||
|
||
import org.springframework.stereotype.Component; | ||
|
||
import com.gaebaljip.exceed.dto.request.GetCalorieAnalysisRequest; | ||
import com.gaebaljip.exceed.dto.response.GetCalorieAnalysisResponse; | ||
|
||
@Component | ||
public interface GetCalorieAnalysisUsecase { | ||
GetCalorieAnalysisResponse execute(GetCalorieAnalysisRequest getCalorieAnalysisRequest); | ||
} |
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
11 changes: 0 additions & 11 deletions
11
BE/exceed/src/main/java/com/gaebaljip/exceed/dto/AnalysisDTO.java
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
BE/exceed/src/main/java/com/gaebaljip/exceed/dto/CalorieAnalysisDTO.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,11 @@ | ||
package com.gaebaljip.exceed.dto; | ||
|
||
import java.time.LocalDate; | ||
|
||
import lombok.Builder; | ||
|
||
public record CalorieAnalysisDTO(Boolean isVisited, LocalDate date, boolean isCalorieAchieved) { | ||
|
||
@Builder | ||
public CalorieAnalysisDTO {} | ||
} |
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
7 changes: 0 additions & 7 deletions
7
BE/exceed/src/main/java/com/gaebaljip/exceed/dto/response/GetAnalysisResponse.java
This file was deleted.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
BE/exceed/src/main/java/com/gaebaljip/exceed/dto/response/GetCalorieAnalysisResponse.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,7 @@ | ||
package com.gaebaljip.exceed.dto.response; | ||
|
||
import java.util.List; | ||
|
||
import com.gaebaljip.exceed.dto.CalorieAnalysisDTO; | ||
|
||
public record GetCalorieAnalysisResponse(List<CalorieAnalysisDTO> calorieAnalysisDTOS) {} |
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