diff --git a/src/main/java/com/mpnp/baechelin/config/QuerydslConfiguration.java b/src/main/java/com/mpnp/baechelin/config/QuerydslConfig.java similarity index 96% rename from src/main/java/com/mpnp/baechelin/config/QuerydslConfiguration.java rename to src/main/java/com/mpnp/baechelin/config/QuerydslConfig.java index 1a30435..27211a2 100644 --- a/src/main/java/com/mpnp/baechelin/config/QuerydslConfiguration.java +++ b/src/main/java/com/mpnp/baechelin/config/QuerydslConfig.java @@ -12,7 +12,7 @@ import static com.mpnp.baechelin.store.domain.QStore.store; @Configuration -public class QuerydslConfiguration { +public class QuerydslConfig { @PersistenceContext private EntityManager entityManager; diff --git a/src/main/java/com/mpnp/baechelin/store/dto/StoreQueryDto.java b/src/main/java/com/mpnp/baechelin/store/dto/StoreQueryDto.java new file mode 100644 index 0000000..6a2c316 --- /dev/null +++ b/src/main/java/com/mpnp/baechelin/store/dto/StoreQueryDto.java @@ -0,0 +1,34 @@ +package com.mpnp.baechelin.store.dto; + +import com.mpnp.baechelin.bookmark.domain.Bookmark; +import com.mpnp.baechelin.review.domain.Review; +import com.mpnp.baechelin.store.domain.StoreImage; + +import javax.persistence.CascadeType; +import javax.persistence.Column; +import javax.persistence.Id; +import javax.persistence.OneToMany; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +public class StoreQueryDto { + private String category; + private String name; + private BigDecimal latitude; + private BigDecimal longitude; + private String address; + private String elevator; + private String toilet; + private String parking; + private String phoneNumber; + private String heightDifferent; + private String approach; + private int bookMarkCount; + private int reviewCount; + private double pointAvg; + private List storeImageList; + private List reviewList; + private List bookmarkList; + +}