diff --git a/src/main/java/in/koreatech/koin/domain/shop/model/shop/Shop.java b/src/main/java/in/koreatech/koin/domain/shop/model/shop/Shop.java index 49e4bb99a..fdc2ca6bf 100644 --- a/src/main/java/in/koreatech/koin/domain/shop/model/shop/Shop.java +++ b/src/main/java/in/koreatech/koin/domain/shop/model/shop/Shop.java @@ -305,9 +305,11 @@ public void updateOwner(Owner owner) { public void delete() { this.isDeleted = true; + reviews.forEach(ShopReview::deleteReview); } public void cancelDelete() { this.isDeleted = false; + reviews.forEach(ShopReview::cancelReview); } }