Skip to content

Commit

Permalink
refactor: 체중기록 응답에 카테고리 추가 #8
Browse files Browse the repository at this point in the history
  • Loading branch information
shimbaa committed Oct 10, 2024
1 parent b88e18c commit af1f8e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ public record WeightResponse(
Long petId,
Double weight,
LocalDateTime recordedAt,
String mainCategory,
String description
) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public static WeightResponse toResponse(Weight weight) {
weight.getPetId(),
weight.getWeight(),
weight.getRecordedAt(),
"체중",
weight.getDescription()
);
}
Expand Down

0 comments on commit af1f8e9

Please sign in to comment.