From 98c5c342e20dbe47057fe00a3aa647fdbd80ab9d Mon Sep 17 00:00:00 2001 From: Anna-Jin Date: Mon, 11 Jul 2022 13:39:10 +0900 Subject: [PATCH] =?UTF-8?q?#18=20[Fix]=20=EC=9E=98=EB=AA=BB=EB=90=9C=20imp?= =?UTF-8?q?ort=EB=AC=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../baechelin/bookmark/domain/Folder.java | 2 +- .../bookmark/repository/FolderRepository.java | 2 +- .../bookmark/service/BookmarkService.java | 2 +- .../bookmark/service/FolderService.java | 2 +- .../mpnp/baechelin/review/domain/Review.java | 2 +- .../review/service/ReviewService.java | 4 ++-- .../store/domain/UserRegisterStore.java | 23 +++++++++++++++++++ 7 files changed, 30 insertions(+), 7 deletions(-) create mode 100644 src/main/java/com/mpnp/baechelin/store/domain/UserRegisterStore.java diff --git a/src/main/java/com/mpnp/baechelin/bookmark/domain/Folder.java b/src/main/java/com/mpnp/baechelin/bookmark/domain/Folder.java index a3ffa82..b20590d 100644 --- a/src/main/java/com/mpnp/baechelin/bookmark/domain/Folder.java +++ b/src/main/java/com/mpnp/baechelin/bookmark/domain/Folder.java @@ -2,7 +2,7 @@ import com.fasterxml.jackson.annotation.JsonIgnore; -import com.mpnp.baechelin.user.domain.User; +import com.mpnp.baechelin.user.entity.user.User; import com.mpnp.baechelin.util.TimeStamped; import lombok.*; diff --git a/src/main/java/com/mpnp/baechelin/bookmark/repository/FolderRepository.java b/src/main/java/com/mpnp/baechelin/bookmark/repository/FolderRepository.java index 201df21..713254b 100644 --- a/src/main/java/com/mpnp/baechelin/bookmark/repository/FolderRepository.java +++ b/src/main/java/com/mpnp/baechelin/bookmark/repository/FolderRepository.java @@ -1,7 +1,7 @@ package com.mpnp.baechelin.bookmark.repository; import com.mpnp.baechelin.bookmark.domain.Folder; -import com.mpnp.baechelin.user.domain.User; +import com.mpnp.baechelin.user.entity.user.User; import org.springframework.data.jpa.repository.JpaRepository; import java.util.List; diff --git a/src/main/java/com/mpnp/baechelin/bookmark/service/BookmarkService.java b/src/main/java/com/mpnp/baechelin/bookmark/service/BookmarkService.java index 4126385..57ca101 100644 --- a/src/main/java/com/mpnp/baechelin/bookmark/service/BookmarkService.java +++ b/src/main/java/com/mpnp/baechelin/bookmark/service/BookmarkService.java @@ -6,7 +6,7 @@ import com.mpnp.baechelin.bookmark.repository.BookmarkRepository; import com.mpnp.baechelin.bookmark.repository.FolderRepository; import com.mpnp.baechelin.store.domain.Store; -import com.mpnp.baechelin.store.domain.repository.StoreRepository; +import com.mpnp.baechelin.store.repository.StoreRepository; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Service; diff --git a/src/main/java/com/mpnp/baechelin/bookmark/service/FolderService.java b/src/main/java/com/mpnp/baechelin/bookmark/service/FolderService.java index c041b9b..88b5e35 100644 --- a/src/main/java/com/mpnp/baechelin/bookmark/service/FolderService.java +++ b/src/main/java/com/mpnp/baechelin/bookmark/service/FolderService.java @@ -4,7 +4,7 @@ import com.mpnp.baechelin.bookmark.dto.FolderReqDTO; import com.mpnp.baechelin.bookmark.dto.FolderResDTO; import com.mpnp.baechelin.bookmark.repository.FolderRepository; -import com.mpnp.baechelin.user.domain.User; +import com.mpnp.baechelin.user.entity.user.User; import com.mpnp.baechelin.user.repository.UserRepository; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Service; diff --git a/src/main/java/com/mpnp/baechelin/review/domain/Review.java b/src/main/java/com/mpnp/baechelin/review/domain/Review.java index 141d83e..4befe6a 100644 --- a/src/main/java/com/mpnp/baechelin/review/domain/Review.java +++ b/src/main/java/com/mpnp/baechelin/review/domain/Review.java @@ -4,7 +4,7 @@ import com.mpnp.baechelin.review.service.ReviewService; import com.mpnp.baechelin.store.domain.Store; import com.mpnp.baechelin.tag.domain.Tag; -import com.mpnp.baechelin.user.domain.User; +import com.mpnp.baechelin.user.entity.user.User; import com.mpnp.baechelin.util.TimeStamped; import lombok.AllArgsConstructor; import lombok.Builder; diff --git a/src/main/java/com/mpnp/baechelin/review/service/ReviewService.java b/src/main/java/com/mpnp/baechelin/review/service/ReviewService.java index 9057534..0f02bd8 100644 --- a/src/main/java/com/mpnp/baechelin/review/service/ReviewService.java +++ b/src/main/java/com/mpnp/baechelin/review/service/ReviewService.java @@ -7,10 +7,10 @@ import com.mpnp.baechelin.review.dto.ReviewReqDTO; import com.mpnp.baechelin.review.repository.ReviewRepository; import com.mpnp.baechelin.store.domain.Store; -import com.mpnp.baechelin.store.domain.repository.StoreRepository; +import com.mpnp.baechelin.store.repository.StoreRepository; import com.mpnp.baechelin.tag.domain.Tag; import com.mpnp.baechelin.tag.repository.TagRepository; -import com.mpnp.baechelin.user.domain.User; +import com.mpnp.baechelin.user.entity.user.User; import com.mpnp.baechelin.user.repository.UserRepository; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; diff --git a/src/main/java/com/mpnp/baechelin/store/domain/UserRegisterStore.java b/src/main/java/com/mpnp/baechelin/store/domain/UserRegisterStore.java new file mode 100644 index 0000000..ff2f299 --- /dev/null +++ b/src/main/java/com/mpnp/baechelin/store/domain/UserRegisterStore.java @@ -0,0 +1,23 @@ +package com.mpnp.baechelin.store.domain; + +import com.mpnp.baechelin.util.TimeStamped; +import lombok.Getter; +import lombok.NoArgsConstructor; + +import javax.persistence.Entity; +import javax.persistence.GeneratedValue; +import javax.persistence.GenerationType; +import javax.persistence.Id; + +@Entity +@Getter +@NoArgsConstructor +public class UserRegisterStore extends TimeStamped { + + @Id + @GeneratedValue(strategy = GenerationType.AUTO) + private int id; + + + +}