Skip to content

Commit b65910b

Browse files
committed
feat: host 키워드 필드 추가
1 parent e3c79e2 commit b65910b

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/com/waitit/capstone/domain/store/dto/StoreDetailResponse.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ public class StoreDetailResponse {
1010
private Long id;
1111
private String name;
1212
private String description;
13+
private String keyword; // keyword 필드 추가
1314
private List<String> images;
1415
private LocationDto location;
1516
private OperatingHoursDto operating_hours;

src/main/java/com/waitit/capstone/domain/store/service/StoreService.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ private StoreDetailResponse toDetailResponse(Host host) {
9696
.id(host.getId())
9797
.name(host.getHostName())
9898
.description(host.getDescription())
99+
.keyword(host.getKeyword()) // keyword 매핑 추가
99100
.images(imageUrls)
100101
.location(locationDto)
101102
.operating_hours(operatingHoursDto)

0 commit comments

Comments
 (0)