Skip to content

Commit

Permalink
#18 [Refactor] Config 네이밍 변경, Dto 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
JSoi committed Jul 13, 2022
1 parent c30d958 commit 6ae920e
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import static com.mpnp.baechelin.store.domain.QStore.store;

@Configuration
public class QuerydslConfiguration {
public class QuerydslConfig {

@PersistenceContext
private EntityManager entityManager;
Expand Down
34 changes: 34 additions & 0 deletions src/main/java/com/mpnp/baechelin/store/dto/StoreQueryDto.java
Original file line number Diff line number Diff line change
@@ -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<StoreImage> storeImageList;
private List<Review> reviewList;
private List<Bookmark> bookmarkList;

}

0 comments on commit 6ae920e

Please sign in to comment.