From 66a55a804b34d3e9aee3dac6daa72cc703780fff Mon Sep 17 00:00:00 2001 From: BeommoKoo-dev <95630007+BeommoKoo-dev@users.noreply.github.com> Date: Fri, 1 Dec 2023 17:29:56 +0900 Subject: [PATCH] =?UTF-8?q?NO-JIRA--chore=20:=20Role=20Enum=20user=20entit?= =?UTF-8?q?y=ED=8C=A8=ED=82=A4=EC=A7=80=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nabimarketbe/domain/user/dto/request/SocialUserInfoDTO.java | 2 +- .../org/prgrms/nabimarketbe/domain/user/{ => entity}/Role.java | 2 +- .../nabimarketbe/global/config/SecurityConfiguration.java | 2 +- .../java/org/prgrms/nabimarketbe/setup/user/UserBuilder.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename src/main/java/org/prgrms/nabimarketbe/domain/user/{ => entity}/Role.java (79%) diff --git a/src/main/java/org/prgrms/nabimarketbe/domain/user/dto/request/SocialUserInfoDTO.java b/src/main/java/org/prgrms/nabimarketbe/domain/user/dto/request/SocialUserInfoDTO.java index a42371ff..e8bd65f0 100644 --- a/src/main/java/org/prgrms/nabimarketbe/domain/user/dto/request/SocialUserInfoDTO.java +++ b/src/main/java/org/prgrms/nabimarketbe/domain/user/dto/request/SocialUserInfoDTO.java @@ -2,7 +2,7 @@ import javax.validation.constraints.NotBlank; -import org.prgrms.nabimarketbe.domain.user.Role; +import org.prgrms.nabimarketbe.domain.user.entity.Role; import org.prgrms.nabimarketbe.domain.user.entity.User; import lombok.Builder; diff --git a/src/main/java/org/prgrms/nabimarketbe/domain/user/Role.java b/src/main/java/org/prgrms/nabimarketbe/domain/user/entity/Role.java similarity index 79% rename from src/main/java/org/prgrms/nabimarketbe/domain/user/Role.java rename to src/main/java/org/prgrms/nabimarketbe/domain/user/entity/Role.java index 21caaedc..5c6c9100 100644 --- a/src/main/java/org/prgrms/nabimarketbe/domain/user/Role.java +++ b/src/main/java/org/prgrms/nabimarketbe/domain/user/entity/Role.java @@ -1,4 +1,4 @@ -package org.prgrms.nabimarketbe.domain.user; +package org.prgrms.nabimarketbe.domain.user.entity; import lombok.Getter; import lombok.RequiredArgsConstructor; diff --git a/src/main/java/org/prgrms/nabimarketbe/global/config/SecurityConfiguration.java b/src/main/java/org/prgrms/nabimarketbe/global/config/SecurityConfiguration.java index 6047f89c..f1be59e2 100644 --- a/src/main/java/org/prgrms/nabimarketbe/global/config/SecurityConfiguration.java +++ b/src/main/java/org/prgrms/nabimarketbe/global/config/SecurityConfiguration.java @@ -1,6 +1,6 @@ package org.prgrms.nabimarketbe.global.config; -import org.prgrms.nabimarketbe.domain.user.Role; +import org.prgrms.nabimarketbe.domain.user.entity.Role; import org.prgrms.nabimarketbe.global.security.handler.CustomAccessDeniedHandler; import org.prgrms.nabimarketbe.global.security.handler.CustomAuthenticationEntryPoint; import org.prgrms.nabimarketbe.global.security.jwt.filter.JwtAuthenticationFilter; diff --git a/src/test/java/org/prgrms/nabimarketbe/setup/user/UserBuilder.java b/src/test/java/org/prgrms/nabimarketbe/setup/user/UserBuilder.java index b87c942a..43fa12b5 100644 --- a/src/test/java/org/prgrms/nabimarketbe/setup/user/UserBuilder.java +++ b/src/test/java/org/prgrms/nabimarketbe/setup/user/UserBuilder.java @@ -1,6 +1,6 @@ package org.prgrms.nabimarketbe.setup.user; -import org.prgrms.nabimarketbe.domain.user.Role; +import org.prgrms.nabimarketbe.domain.user.entity.Role; import org.prgrms.nabimarketbe.domain.user.entity.User; public class UserBuilder {