-
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.
- Loading branch information
Showing
4 changed files
with
104 additions
and
45 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
26 changes: 18 additions & 8 deletions
26
core-module/src/main/java/com/foodgo/coremodule/report/dto/ReportComparisonDTO.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 |
---|---|---|
@@ -1,13 +1,23 @@ | ||
package com.foodgo.coremodule.report.dto; | ||
|
||
public record ReportComparisonDTO( | ||
int lastWeekTotal, | ||
int thisWeekTotal, | ||
int lastWeekCarbs, | ||
int thisWeekCarbs, | ||
int lastWeekProteins, | ||
int thisWeekProteins, | ||
int lastWeekFats, | ||
int thisWeekFats | ||
Double lastWeekTotal, | ||
Double thisWeekTotal, | ||
Double lastWeekCarbs, | ||
Double thisWeekCarbs, | ||
Double lastWeekProteins, | ||
Double thisWeekProteins, | ||
Double lastWeekFats, | ||
Double thisWeekFats, | ||
Double lastWeekSugar, | ||
Double thisWeekSugar, | ||
Double lastWeekSodium, | ||
Double thisWeekSodium, | ||
Double lastWeekCholesterol, | ||
Double thisWeekCholesterol, | ||
Double lastWeekSaturatedFat, | ||
Double thisWeekSaturatedFat, | ||
Double lastWeekTransFat, | ||
Double thisWeekTransFat | ||
) { | ||
} |
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