Skip to content

Commit

Permalink
fix: 패키지 구조 재정렬
Browse files Browse the repository at this point in the history
  • Loading branch information
hun-ca committed Jun 23, 2024
1 parent e3faa6e commit 7c742bb
Show file tree
Hide file tree
Showing 19 changed files with 54 additions and 54 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package com.few.api.domain.problem
package com.few.api.domain.problem.usecase

import com.few.api.repo.dao.problem.ProblemDao
import com.few.api.repo.dao.problem.SubmitHistoryDao
import com.few.api.repo.dao.problem.command.InsertSubmitHistoryCommand
import com.few.api.repo.dao.problem.query.SelectProblemAnswerQuery
import com.few.api.domain.problem.`in`.CheckProblemUseCaseIn
import com.few.api.domain.problem.out.CheckProblemUseCaseOut
import com.few.api.domain.problem.usecase.`in`.CheckProblemUseCaseIn
import com.few.api.domain.problem.usecase.out.CheckProblemUseCaseOut
import org.springframework.stereotype.Component
import org.springframework.transaction.annotation.Transactional

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.few.api.domain.problem
package com.few.api.domain.problem.usecase

import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.module.kotlin.readValue
import com.few.api.repo.dao.problem.ProblemDao
import com.few.api.repo.dao.problem.query.SelectProblemQuery
import com.few.api.domain.problem.`in`.ReadProblemUseCaseIn
import com.few.api.domain.problem.out.ReadProblemContentsUseCaseOutDetail
import com.few.api.domain.problem.out.ReadProblemUseCaseOut
import com.few.api.domain.problem.usecase.`in`.ReadProblemUseCaseIn
import com.few.api.domain.problem.usecase.out.ReadProblemContentsUseCaseOutDetail
import com.few.api.domain.problem.usecase.out.ReadProblemUseCaseOut
import org.springframework.stereotype.Component
import org.springframework.transaction.annotation.Transactional

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.few.api.domain.problem.`in`
package com.few.api.domain.problem.usecase.`in`

data class CheckProblemUseCaseIn(
val problemId: Long,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.few.api.domain.problem.`in`
package com.few.api.domain.problem.usecase.`in`

data class ReadProblemUseCaseIn(
val problemId: Long
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.few.api.domain.problem.out
package com.few.api.domain.problem.usecase.out

data class CheckProblemUseCaseOut(
val explanation: String,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.few.api.domain.problem.out
package com.few.api.domain.problem.usecase.out

class ReadProblemUseCaseOut(
val id: Long,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.few.api.domain.member.service
package com.few.api.domain.subscription.service

import com.few.api.domain.member.service.dto.GetMemberIdDto
import com.few.api.domain.subscription.service.dto.GetMemberIdDto
import org.springframework.stereotype.Service
import org.springframework.transaction.annotation.Transactional

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package com.few.api.domain.subscription.service.dto

data class GetMemberIdDto(
val email: String
)
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.few.api.domain.subscription
package com.few.api.domain.subscription.usecase

import com.few.api.repo.dao.subscription.SubscriptionDao
import com.few.api.repo.dao.subscription.command.InsertWorkbookSubscriptionCommand
import com.few.api.repo.dao.subscription.query.CountWorkbookSubscriptionQuery
import com.few.api.domain.subscription.`in`.SubscribeWorkbookUseCaseIn
import com.few.api.domain.subscription.usecase.`in`.SubscribeWorkbookUseCaseIn
import org.springframework.stereotype.Component
import org.springframework.transaction.annotation.Transactional

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.few.api.domain.subscription
package com.few.api.domain.subscription.usecase

import com.few.api.domain.member.service.MemberService
import com.few.api.domain.member.service.dto.GetMemberIdDto
import com.few.api.domain.subscription.`in`.UnsubscribeAllUseCaseIn
import com.few.api.domain.subscription.service.MemberService
import com.few.api.domain.subscription.service.dto.GetMemberIdDto
import com.few.api.domain.subscription.usecase.`in`.UnsubscribeAllUseCaseIn
import com.few.api.repo.dao.subscription.SubscriptionDao
import com.few.api.repo.dao.subscription.command.UpdateDeletedAtInAllSubscriptionCommand
import org.springframework.stereotype.Component
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package com.few.api.domain.subscription
package com.few.api.domain.subscription.usecase

import com.few.api.domain.member.service.MemberService
import com.few.api.domain.member.service.dto.GetMemberIdDto
import com.few.api.domain.subscription.service.MemberService
import com.few.api.domain.subscription.service.dto.GetMemberIdDto
import com.few.api.repo.dao.subscription.SubscriptionDao
import com.few.api.repo.dao.subscription.command.UpdateDeletedAtInWorkbookSubscriptionCommand
import com.few.api.domain.subscription.`in`.UnsubscribeWorkbookUseCaseIn
import com.few.api.domain.subscription.usecase.`in`.UnsubscribeWorkbookUseCaseIn
import org.springframework.stereotype.Component
import org.springframework.transaction.annotation.Transactional

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.few.api.domain.subscription.`in`
package com.few.api.domain.subscription.usecase.`in`

data class SubscribeWorkbookUseCaseIn(
val workbookId: Long,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.few.api.domain.subscription.`in`
package com.few.api.domain.subscription.usecase.`in`

data class UnsubscribeAllUseCaseIn(
val opinion: String,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.few.api.domain.subscription.`in`
package com.few.api.domain.subscription.usecase.`in`

data class UnsubscribeWorkbookUseCaseIn(
val workbookId: Long,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import com.few.api.web.controller.problem.response.ProblemContents
import com.few.api.web.controller.problem.response.ReadProblemResponse
import com.few.api.web.support.ApiResponse
import com.few.api.web.support.ApiResponseGenerator
import com.few.api.domain.problem.CheckProblemUseCase
import com.few.api.domain.problem.ReadProblemUseCase
import com.few.api.domain.problem.`in`.CheckProblemUseCaseIn
import com.few.api.domain.problem.`in`.ReadProblemUseCaseIn
import com.few.api.domain.problem.usecase.CheckProblemUseCase
import com.few.api.domain.problem.usecase.ReadProblemUseCase
import com.few.api.domain.problem.usecase.`in`.CheckProblemUseCaseIn
import com.few.api.domain.problem.usecase.`in`.ReadProblemUseCaseIn
import org.springframework.http.HttpStatus
import org.springframework.validation.annotation.Validated
import org.springframework.web.bind.annotation.*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import com.few.api.web.controller.subscription.request.SubscribeWorkbookRequest
import com.few.api.web.controller.subscription.request.UnsubscribeWorkbookRequest
import com.few.api.web.support.ApiResponse
import com.few.api.web.support.ApiResponseGenerator
import com.few.api.domain.subscription.SubscribeWorkbookUseCase
import com.few.api.domain.subscription.UnsubscribeAllUseCase
import com.few.api.domain.subscription.UnsubscribeWorkbookUseCase
import com.few.api.domain.subscription.`in`.SubscribeWorkbookUseCaseIn
import com.few.api.domain.subscription.`in`.UnsubscribeAllUseCaseIn
import com.few.api.domain.subscription.`in`.UnsubscribeWorkbookUseCaseIn
import com.few.api.domain.subscription.usecase.SubscribeWorkbookUseCase
import com.few.api.domain.subscription.usecase.UnsubscribeAllUseCase
import com.few.api.domain.subscription.usecase.UnsubscribeWorkbookUseCase
import com.few.api.domain.subscription.usecase.`in`.SubscribeWorkbookUseCaseIn
import com.few.api.domain.subscription.usecase.`in`.UnsubscribeAllUseCaseIn
import com.few.api.domain.subscription.usecase.`in`.UnsubscribeWorkbookUseCaseIn
import com.few.api.web.controller.subscription.request.UnsubscribeAllRequest
import org.springframework.http.HttpStatus
import org.springframework.validation.annotation.Validated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ import com.few.api.web.controller.ControllerTestSpec
import com.few.api.web.controller.description.Description
import com.few.api.web.controller.helper.*
import com.few.api.web.controller.problem.request.CheckProblemBody
import com.few.api.domain.problem.CheckProblemUseCase
import com.few.api.domain.problem.ReadProblemUseCase
import com.few.api.domain.problem.`in`.CheckProblemUseCaseIn
import com.few.api.domain.problem.`in`.ReadProblemUseCaseIn
import com.few.api.domain.problem.out.CheckProblemUseCaseOut
import com.few.api.domain.problem.out.ReadProblemContentsUseCaseOutDetail
import com.few.api.domain.problem.out.ReadProblemUseCaseOut
import com.few.api.domain.problem.usecase.CheckProblemUseCase
import com.few.api.domain.problem.usecase.ReadProblemUseCase
import com.few.api.domain.problem.usecase.`in`.CheckProblemUseCaseIn
import com.few.api.domain.problem.usecase.`in`.ReadProblemUseCaseIn
import com.few.api.domain.problem.usecase.out.CheckProblemUseCaseOut
import com.few.api.domain.problem.usecase.out.ReadProblemContentsUseCaseOutDetail
import com.few.api.domain.problem.usecase.out.ReadProblemUseCaseOut
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.DisplayName
import org.junit.jupiter.api.Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ import com.few.api.web.controller.helper.toRequestSchema
import com.few.api.web.controller.helper.toResponseSchema
import com.few.api.web.controller.subscription.request.SubscribeWorkbookRequest
import com.few.api.web.controller.subscription.request.UnsubscribeWorkbookRequest
import com.few.api.domain.subscription.SubscribeWorkbookUseCase
import com.few.api.domain.subscription.UnsubscribeAllUseCase
import com.few.api.domain.subscription.UnsubscribeWorkbookUseCase
import com.few.api.domain.subscription.`in`.SubscribeWorkbookUseCaseIn
import com.few.api.domain.subscription.`in`.UnsubscribeAllUseCaseIn
import com.few.api.domain.subscription.`in`.UnsubscribeWorkbookUseCaseIn
import com.few.api.domain.subscription.usecase.SubscribeWorkbookUseCase
import com.few.api.domain.subscription.usecase.UnsubscribeAllUseCase
import com.few.api.domain.subscription.usecase.UnsubscribeWorkbookUseCase
import com.few.api.domain.subscription.usecase.`in`.SubscribeWorkbookUseCaseIn
import com.few.api.domain.subscription.usecase.`in`.UnsubscribeAllUseCaseIn
import com.few.api.domain.subscription.usecase.`in`.UnsubscribeWorkbookUseCaseIn
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.DisplayName
import org.junit.jupiter.api.Test
Expand Down

0 comments on commit 7c742bb

Please sign in to comment.