Skip to content

Commit

Permalink
refactor: 폴더 구조 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
dong2ast committed Aug 1, 2023
1 parent f6fc455 commit 97ef040
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
import org.sophy.sophy.domain.dto.booktalk.response.BooktalkDeleteResponseDto;
import org.sophy.sophy.domain.dto.mypage.MyPageBooktalkDto;
import org.sophy.sophy.exception.SuccessStatus;
import org.sophy.sophy.service.BooktalkService;
import org.sophy.sophy.service.MemberService;
import org.sophy.sophy.service.api.BooktalkService;
import org.sophy.sophy.service.api.MemberService;
import org.springframework.http.HttpStatus;
import org.springframework.security.core.annotation.AuthenticationPrincipal;
import org.springframework.security.core.userdetails.User;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import org.sophy.sophy.domain.dto.booktalk.response.BooktalkResponseDto;
import org.sophy.sophy.domain.enumerate.City;
import org.sophy.sophy.exception.SuccessStatus;
import org.sophy.sophy.service.BooktalkService;
import org.sophy.sophy.service.api.BooktalkService;
import org.springframework.http.HttpStatus;
import org.springframework.security.core.annotation.AuthenticationPrincipal;
import org.springframework.security.core.userdetails.User;
Expand Down
6 changes: 1 addition & 5 deletions src/main/java/org/sophy/sophy/controller/HomeController.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,13 @@
import lombok.RequiredArgsConstructor;
import org.sophy.sophy.common.dto.ApiResponseDto;
import org.sophy.sophy.domain.dto.HomeResponseDto;
import org.sophy.sophy.domain.enumerate.Authority;
import org.sophy.sophy.exception.SuccessStatus;
import org.sophy.sophy.service.HomeService;
import org.springframework.security.core.GrantedAuthority;
import org.sophy.sophy.service.api.HomeService;
import org.springframework.security.core.annotation.AuthenticationPrincipal;
import org.springframework.security.core.userdetails.User;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Collection;


@RestController
@RequiredArgsConstructor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import org.sophy.sophy.domain.dto.mypage.MyPageDto;
import org.sophy.sophy.domain.dto.mypage.MyInfoDto;
import org.sophy.sophy.exception.SuccessStatus;
import org.sophy.sophy.service.MemberService;
import org.sophy.sophy.service.api.MemberService;
import org.springframework.http.HttpStatus;
import org.springframework.security.core.annotation.AuthenticationPrincipal;
import org.springframework.security.core.userdetails.User;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import org.sophy.sophy.domain.Booktalk;
import org.sophy.sophy.service.OperatorService;
import org.sophy.sophy.service.api.OperatorService;
import org.springframework.security.core.annotation.AuthenticationPrincipal;
import org.springframework.security.core.userdetails.User;
import org.springframework.web.bind.annotation.*;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import org.sophy.sophy.domain.dto.place.request.PlaceRequestDto;
import org.sophy.sophy.domain.enumerate.City;
import org.sophy.sophy.exception.SuccessStatus;
import org.sophy.sophy.service.PlaceService;
import org.sophy.sophy.service.api.PlaceService;
import org.springframework.http.HttpStatus;
import org.springframework.security.core.annotation.AuthenticationPrincipal;
import org.springframework.security.core.userdetails.User;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import org.sophy.sophy.domain.dto.SophyStoryDto;
import org.sophy.sophy.domain.dto.SophyStoryRequestDto;
import org.sophy.sophy.exception.SuccessStatus;
import org.sophy.sophy.service.SophyStoryService;
import org.sophy.sophy.service.api.SophyStoryService;
import org.springframework.security.core.annotation.AuthenticationPrincipal;
import org.springframework.security.core.userdetails.User;
import org.springframework.web.bind.annotation.*;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/sophy/sophy/domain/Book.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class Book {
private Boolean isRegistration;
@Column(length = 1000)
private String bookImageUrl;
@ManyToOne
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "author_property_id")
private AuthorProperty authorProperty;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.sophy.sophy.service;
package org.sophy.sophy.service.api;

import lombok.RequiredArgsConstructor;
import org.sophy.sophy.domain.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.sophy.sophy.service;
package org.sophy.sophy.service.api;

import lombok.RequiredArgsConstructor;
import org.sophy.sophy.domain.Member;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.sophy.sophy.service;
package org.sophy.sophy.service.api;

import lombok.RequiredArgsConstructor;
import org.sophy.sophy.controller.dto.request.MemberAdditionalInfoDto;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.sophy.sophy.service;
package org.sophy.sophy.service.api;

import lombok.RequiredArgsConstructor;
import org.sophy.sophy.domain.Booktalk;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.sophy.sophy.service;
package org.sophy.sophy.service.api;

import lombok.RequiredArgsConstructor;
import org.sophy.sophy.controller.dto.response.PlaceResponseDto;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.sophy.sophy.service;
package org.sophy.sophy.service.api;

import lombok.RequiredArgsConstructor;
import org.sophy.sophy.domain.CompletedBooktalk;
Expand Down

0 comments on commit 97ef040

Please sign in to comment.