diff --git a/src/main/java/org/prography/kagongsillok/place/application/dto/PlaceDto.java b/src/main/java/org/prography/kagongsillok/place/application/dto/PlaceDto.java index bd70139..6a1868f 100644 --- a/src/main/java/org/prography/kagongsillok/place/application/dto/PlaceDto.java +++ b/src/main/java/org/prography/kagongsillok/place/application/dto/PlaceDto.java @@ -66,6 +66,8 @@ public static PlaceDto from(final Place place) { .address(place.getAddress()) .latitude(place.getLatitude()) .longitude(place.getLongitude()) + .images(List.of()) + .reviewTags(List.of()) .phone(place.getPhone()) .links(CustomListUtils.mapTo(place.getLinks().getValues(), LinkDto::from)) .businessHours(CustomListUtils.mapTo(place.getBusinessHours().getValues(), BusinessHourDto::from)) @@ -80,6 +82,7 @@ public static PlaceDto of(final Place place, final List images) { .latitude(place.getLatitude()) .longitude(place.getLongitude()) .images(CustomListUtils.mapTo(images, ImageDto::from)) + .reviewTags(List.of()) .phone(place.getPhone()) .links(CustomListUtils.mapTo(place.getLinks().getValues(), LinkDto::from)) .businessHours(CustomListUtils.mapTo(place.getBusinessHours().getValues(), BusinessHourDto::from)) @@ -100,6 +103,7 @@ public static PlaceDto of( .longitude(place.getLongitude()) .images(CustomListUtils.mapTo(images, ImageDto::from)) .phone(place.getPhone()) + .ratingAverage(ratingAvg) .links(CustomListUtils.mapTo(place.getLinks().getValues(), LinkDto::from)) .businessHours(CustomListUtils.mapTo(place.getBusinessHours().getValues(), BusinessHourDto::from)) .reviewTags(CustomListUtils.mapTo(reviewTags, ReviewTagDto::from))