Skip to content

Commit

Permalink
[feat] 식당 상세조회 반환 스펙 변경 (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
Parkjyun authored Dec 26, 2024
1 parent 11ea954 commit 3c8d981
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ public record StoreGetResponse(
String category,
int heartCount,
boolean isLiked,
double latitude,
double longitude,
String categoryImageUrl,
List<String> imageUrls,
List<MenuResponse> menus
) {
Expand All @@ -17,6 +20,9 @@ public static StoreGetResponse of(final Store store, final boolean isLiked, fina
store.getCategory().getName(),
store.getHeartCount(),
isLiked,
store.getPoint().getLatitude(),
store.getPoint().getLongitude(),
store.getCategory().getUrl(),
imageUrls,
menus);
}
Expand Down

0 comments on commit 3c8d981

Please sign in to comment.