From 03e3e65f6b0759d0f9617495cec5146e422758e4 Mon Sep 17 00:00:00 2001 From: Jin_00 Date: Mon, 6 Nov 2023 16:10:10 +0900 Subject: [PATCH] =?UTF-8?q?refactor=20:=20Role=20=EB=B3=80=EA=B2=BD?= =?UTF-8?q?=EC=97=90=20=EB=94=B0=EB=A5=B8=20=EC=BD=94=EB=93=9C=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jin_00 --- src/main/java/com/example/demo/mentoring/MentorPostResponse.java | 1 + src/main/java/com/example/demo/mentoring/MentorPostService.java | 1 + .../java/com/example/demo/mentoring/contact/ContactResponse.java | 1 + .../example/demo/mentoring/contact/ContactRestController.java | 1 + .../java/com/example/demo/mentoring/contact/ContactService.java | 1 + src/main/java/com/example/demo/mentoring/done/DoneResponse.java | 1 + .../java/com/example/demo/mentoring/done/DoneRestController.java | 1 + 7 files changed, 7 insertions(+) diff --git a/src/main/java/com/example/demo/mentoring/MentorPostResponse.java b/src/main/java/com/example/demo/mentoring/MentorPostResponse.java index 0dfd3c5d..405a019b 100644 --- a/src/main/java/com/example/demo/mentoring/MentorPostResponse.java +++ b/src/main/java/com/example/demo/mentoring/MentorPostResponse.java @@ -3,6 +3,7 @@ import com.example.demo.mentoring.contact.ContactStateEnum; import com.example.demo.mentoring.contact.NotConnectedRegisterUser; +import com.example.demo.user.Role; import com.example.demo.user.User; import com.example.demo.user.userInterest.UserInterest; import lombok.Getter; diff --git a/src/main/java/com/example/demo/mentoring/MentorPostService.java b/src/main/java/com/example/demo/mentoring/MentorPostService.java index ac075398..be3f9c45 100644 --- a/src/main/java/com/example/demo/mentoring/MentorPostService.java +++ b/src/main/java/com/example/demo/mentoring/MentorPostService.java @@ -5,6 +5,7 @@ import com.example.demo.config.errors.exception.Exception404; import com.example.demo.mentoring.contact.ContactJPARepository; import com.example.demo.mentoring.contact.NotConnectedRegisterUser; +import com.example.demo.user.Role; import com.example.demo.user.User; import com.example.demo.user.userInterest.UserInterest; import com.example.demo.user.userInterest.UserInterestJPARepository; diff --git a/src/main/java/com/example/demo/mentoring/contact/ContactResponse.java b/src/main/java/com/example/demo/mentoring/contact/ContactResponse.java index 62b8f150..ff83058c 100644 --- a/src/main/java/com/example/demo/mentoring/contact/ContactResponse.java +++ b/src/main/java/com/example/demo/mentoring/contact/ContactResponse.java @@ -1,6 +1,7 @@ package com.example.demo.mentoring.contact; import com.example.demo.mentoring.MentorPost; +import com.example.demo.user.Role; import com.example.demo.user.User; import com.example.demo.user.userInterest.UserInterest; import lombok.Getter; diff --git a/src/main/java/com/example/demo/mentoring/contact/ContactRestController.java b/src/main/java/com/example/demo/mentoring/contact/ContactRestController.java index abe0b21d..933da7ce 100644 --- a/src/main/java/com/example/demo/mentoring/contact/ContactRestController.java +++ b/src/main/java/com/example/demo/mentoring/contact/ContactRestController.java @@ -2,6 +2,7 @@ import com.example.demo.config.auth.CustomUserDetails; import com.example.demo.config.utils.ApiResponseBuilder; +import com.example.demo.user.Role; import io.swagger.v3.oas.annotations.Operation; import lombok.RequiredArgsConstructor; import org.springframework.http.HttpStatus; diff --git a/src/main/java/com/example/demo/mentoring/contact/ContactService.java b/src/main/java/com/example/demo/mentoring/contact/ContactService.java index 280ac6e8..f377e130 100644 --- a/src/main/java/com/example/demo/mentoring/contact/ContactService.java +++ b/src/main/java/com/example/demo/mentoring/contact/ContactService.java @@ -6,6 +6,7 @@ import com.example.demo.mentoring.MentorPostJPARepostiory; import com.example.demo.mentoring.done.ConnectedUser; import com.example.demo.mentoring.done.DoneJPARepository; +import com.example.demo.user.Role; import com.example.demo.user.User; import com.example.demo.user.userInterest.UserInterest; import com.example.demo.user.userInterest.UserInterestJPARepository; diff --git a/src/main/java/com/example/demo/mentoring/done/DoneResponse.java b/src/main/java/com/example/demo/mentoring/done/DoneResponse.java index 60f75141..90f9df96 100644 --- a/src/main/java/com/example/demo/mentoring/done/DoneResponse.java +++ b/src/main/java/com/example/demo/mentoring/done/DoneResponse.java @@ -1,6 +1,7 @@ package com.example.demo.mentoring.done; import com.example.demo.mentoring.MentorPost; +import com.example.demo.user.Role; import com.example.demo.user.User; import com.example.demo.user.userInterest.UserInterest; import lombok.Getter; diff --git a/src/main/java/com/example/demo/mentoring/done/DoneRestController.java b/src/main/java/com/example/demo/mentoring/done/DoneRestController.java index 10b7c910..02d4d7f0 100644 --- a/src/main/java/com/example/demo/mentoring/done/DoneRestController.java +++ b/src/main/java/com/example/demo/mentoring/done/DoneRestController.java @@ -2,6 +2,7 @@ import com.example.demo.config.auth.CustomUserDetails; import com.example.demo.config.utils.ApiResponseBuilder; +import com.example.demo.user.Role; import io.swagger.v3.oas.annotations.Operation; import lombok.RequiredArgsConstructor; import org.springframework.http.ResponseEntity;