Skip to content

Commit

Permalink
refactor: 패키지 구조 일부 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
limehee committed Sep 26, 2024
1 parent 21af0cd commit 954036e
Show file tree
Hide file tree
Showing 15 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import com.stempo.api.domain.presentation.dto.request.BoardRequestDto;
import com.stempo.api.domain.presentation.dto.request.BoardUpdateRequestDto;
import com.stempo.api.domain.presentation.dto.response.BoardResponseDto;
import com.stempo.api.global.common.dto.PagedResponseDto;
import com.stempo.api.global.dto.PagedResponseDto;
import org.springframework.data.domain.Pageable;

public interface BoardService {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import com.stempo.api.domain.presentation.dto.request.BoardRequestDto;
import com.stempo.api.domain.presentation.dto.request.BoardUpdateRequestDto;
import com.stempo.api.domain.presentation.dto.response.BoardResponseDto;
import com.stempo.api.global.common.dto.PagedResponseDto;
import com.stempo.api.global.dto.PagedResponseDto;
import com.stempo.api.global.exception.PermissionDeniedException;
import lombok.RequiredArgsConstructor;
import org.springframework.data.domain.Page;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import com.stempo.api.domain.presentation.dto.request.HomeworkRequestDto;
import com.stempo.api.domain.presentation.dto.request.HomeworkUpdateRequestDto;
import com.stempo.api.domain.presentation.dto.response.HomeworkResponseDto;
import com.stempo.api.global.common.dto.PagedResponseDto;
import com.stempo.api.global.dto.PagedResponseDto;
import org.springframework.data.domain.Pageable;

public interface HomeworkService {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import com.stempo.api.domain.presentation.dto.request.HomeworkRequestDto;
import com.stempo.api.domain.presentation.dto.request.HomeworkUpdateRequestDto;
import com.stempo.api.domain.presentation.dto.response.HomeworkResponseDto;
import com.stempo.api.global.common.dto.PagedResponseDto;
import com.stempo.api.global.dto.PagedResponseDto;
import lombok.RequiredArgsConstructor;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import com.stempo.api.domain.application.service.AuthService;
import com.stempo.api.domain.presentation.dto.request.AuthRequestDto;
import com.stempo.api.domain.presentation.dto.response.TokenInfo;
import com.stempo.api.global.common.dto.ApiResponse;
import com.stempo.api.global.dto.ApiResponse;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.servlet.http.HttpServletRequest;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import com.stempo.api.domain.presentation.dto.request.BoardRequestDto;
import com.stempo.api.domain.presentation.dto.request.BoardUpdateRequestDto;
import com.stempo.api.domain.presentation.dto.response.BoardResponseDto;
import com.stempo.api.global.common.dto.ApiResponse;
import com.stempo.api.global.common.dto.PagedResponseDto;
import com.stempo.api.global.dto.ApiResponse;
import com.stempo.api.global.dto.PagedResponseDto;
import com.stempo.api.global.exception.InvalidColumnException;
import com.stempo.api.global.exception.SortingArgumentException;
import com.stempo.api.global.util.PageableUtil;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.stempo.api.domain.presentation;

import com.stempo.api.domain.application.service.FileService;
import com.stempo.api.global.common.dto.ApiResponse;
import com.stempo.api.global.dto.ApiResponse;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import com.stempo.api.domain.presentation.dto.request.HomeworkRequestDto;
import com.stempo.api.domain.presentation.dto.request.HomeworkUpdateRequestDto;
import com.stempo.api.domain.presentation.dto.response.HomeworkResponseDto;
import com.stempo.api.global.common.dto.ApiResponse;
import com.stempo.api.global.common.dto.PagedResponseDto;
import com.stempo.api.global.dto.ApiResponse;
import com.stempo.api.global.dto.PagedResponseDto;
import com.stempo.api.global.exception.InvalidColumnException;
import com.stempo.api.global.exception.SortingArgumentException;
import com.stempo.api.global.util.PageableUtil;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import com.stempo.api.domain.application.service.RecordService;
import com.stempo.api.domain.presentation.dto.request.RecordRequestDto;
import com.stempo.api.domain.presentation.dto.response.RecordResponseDto;
import com.stempo.api.global.common.dto.ApiResponse;
import com.stempo.api.global.dto.ApiResponse;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.validation.Valid;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import com.stempo.api.domain.application.service.RhythmService;
import com.stempo.api.domain.presentation.dto.request.RhythmRequestDto;
import com.stempo.api.global.common.dto.ApiResponse;
import com.stempo.api.global.dto.ApiResponse;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.validation.Valid;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.stempo.api.global.common.dto;
package com.stempo.api.global.dto;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.stempo.api.global.common.dto;
package com.stempo.api.global.dto;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.stempo.api.global.common.dto;
package com.stempo.api.global.dto;

import lombok.Getter;
import org.springframework.data.domain.Page;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
import com.stempo.api.global.auth.exception.TokenForgeryException;
import com.stempo.api.global.auth.exception.TokenNotFoundException;
import com.stempo.api.global.auth.exception.TokenValidateException;
import com.stempo.api.global.common.dto.ApiResponse;
import com.stempo.api.global.common.dto.ErrorResponse;
import com.stempo.api.global.dto.ApiResponse;
import com.stempo.api.global.dto.ErrorResponse;
import com.stempo.api.global.exception.InvalidColumnException;
import com.stempo.api.global.exception.NotFoundException;
import com.stempo.api.global.exception.PermissionDeniedException;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/stempo/api/global/util/ResponseUtil.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.stempo.api.global.util;

import com.stempo.api.global.common.dto.ApiResponse;
import com.stempo.api.global.dto.ApiResponse;
import jakarta.servlet.http.HttpServletResponse;

import java.io.IOException;
Expand Down

0 comments on commit 954036e

Please sign in to comment.