diff --git a/src/main/java/com/example/backend/video/VideoController.java b/src/main/java/com/example/backend/video/VideoController.java index 080b3b3..02684e5 100644 --- a/src/main/java/com/example/backend/video/VideoController.java +++ b/src/main/java/com/example/backend/video/VideoController.java @@ -9,6 +9,8 @@ import com.example.backend.video.domain.Video; import com.example.backend.video.domain.VideoComment; import com.example.backend.video.dto.*; +import com.example.backend.video.service.VideoCommentService; +import com.example.backend.video.service.VideoService; import lombok.RequiredArgsConstructor; import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Sort; diff --git a/src/main/java/com/example/backend/video/VideoCommentService.java b/src/main/java/com/example/backend/video/service/VideoCommentService.java similarity index 98% rename from src/main/java/com/example/backend/video/VideoCommentService.java rename to src/main/java/com/example/backend/video/service/VideoCommentService.java index 6b623d4..7e24392 100644 --- a/src/main/java/com/example/backend/video/VideoCommentService.java +++ b/src/main/java/com/example/backend/video/service/VideoCommentService.java @@ -1,4 +1,4 @@ -package com.example.backend.video; +package com.example.backend.video.service; import com.example.backend.video.domain.VideoComment; import com.example.backend.video.dto.VideoCommentsResponse; diff --git a/src/main/java/com/example/backend/video/VideoService.java b/src/main/java/com/example/backend/video/service/VideoService.java similarity index 98% rename from src/main/java/com/example/backend/video/VideoService.java rename to src/main/java/com/example/backend/video/service/VideoService.java index 1da511e..81c3ad1 100644 --- a/src/main/java/com/example/backend/video/VideoService.java +++ b/src/main/java/com/example/backend/video/service/VideoService.java @@ -1,4 +1,4 @@ -package com.example.backend.video; +package com.example.backend.video.service; import com.example.backend.customHashtag.CustomHashtag; import com.example.backend.customHashtag.CustomHashtagRepository; @@ -6,6 +6,7 @@ import com.example.backend.video.domain.*; import com.example.backend.video.dto.*; import com.example.backend.video.repository.*; +import com.example.backend.video.service.VideoCommentService; import lombok.RequiredArgsConstructor; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable;