Skip to content

Commit 45934fa

Browse files
committed
feat: RestaurantInfo 응답에 mapUrl 필드 추가
1 parent 0870eca commit 45934fa

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/main/java/com/semosan/api/domain/mountain/dto/response/MountainDetailResponse.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,14 +132,16 @@ public record RestaurantInfo(
132132
Long restaurantId,
133133
String name,
134134
String category,
135-
String imageUrl
135+
String imageUrl,
136+
String mapUrl
136137
) {
137138
public static RestaurantInfo from(Restaurant restaurant) {
138139
return new RestaurantInfo(
139140
restaurant.getId(),
140141
restaurant.getName(),
141142
restaurant.getCategory(),
142-
restaurant.getImageUrl()
143+
restaurant.getImageUrl(),
144+
restaurant.getMapUrl()
143145
);
144146
}
145147
}

0 commit comments

Comments
 (0)