Skip to content

Commit

Permalink
fix: problem, subscripton usecase 패키지 위치 변경 (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
hun-ca authored Jun 23, 2024
1 parent 60b5dbc commit 56fb03b
Show file tree
Hide file tree
Showing 14 changed files with 36 additions and 36 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package com.few.api.web.usecase.problem
package com.few.api.domain.problem

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.web.usecase.problem.`in`.CheckProblemUseCaseIn
import com.few.api.web.usecase.problem.out.CheckProblemUseCaseOut
import com.few.api.domain.problem.`in`.CheckProblemUseCaseIn
import com.few.api.domain.problem.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.web.usecase.problem
package com.few.api.domain.problem

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.web.usecase.problem.`in`.ReadProblemUseCaseIn
import com.few.api.web.usecase.problem.out.ReadProblemContentsUseCaseOutDetail
import com.few.api.web.usecase.problem.out.ReadProblemUseCaseOut
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 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.web.usecase.problem.`in`
package com.few.api.domain.problem.`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.web.usecase.problem.`in`
package com.few.api.domain.problem.`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.web.usecase.problem.out
package com.few.api.domain.problem.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.web.usecase.problem.out
package com.few.api.domain.problem.out

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

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.web.usecase.subscription.`in`.SubscribeWorkbookUseCaseIn
import com.few.api.domain.subscription.`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,9 +1,9 @@
package com.few.api.web.usecase.subscription
package com.few.api.domain.subscription

import com.few.api.repo.dao.subscription.SubscriptionDao
import com.few.api.repo.dao.subscription.command.UpdateDeletedAtInWorkbookSubscriptionCommand
import com.few.api.repo.dao.subscription.query.CountWorkbookSubscriptionQuery
import com.few.api.web.usecase.subscription.`in`.UnsubscribeWorkbookUseCaseIn
import com.few.api.domain.subscription.`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.web.usecase.subscription.`in`
package com.few.api.domain.subscription.`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.web.usecase.subscription.`in`
package com.few.api.domain.subscription.`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.web.usecase.problem.CheckProblemUseCase
import com.few.api.web.usecase.problem.ReadProblemUseCase
import com.few.api.web.usecase.problem.`in`.CheckProblemUseCaseIn
import com.few.api.web.usecase.problem.`in`.ReadProblemUseCaseIn
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 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,10 +4,10 @@ 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.web.usecase.subscription.SubscribeWorkbookUseCase
import com.few.api.web.usecase.subscription.UnsubscribeWorkbookUseCase
import com.few.api.web.usecase.subscription.`in`.SubscribeWorkbookUseCaseIn
import com.few.api.web.usecase.subscription.`in`.UnsubscribeWorkbookUseCaseIn
import com.few.api.domain.subscription.SubscribeWorkbookUseCase
import com.few.api.domain.subscription.UnsubscribeWorkbookUseCase
import com.few.api.domain.subscription.`in`.SubscribeWorkbookUseCaseIn
import com.few.api.domain.subscription.`in`.UnsubscribeWorkbookUseCaseIn
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 @@ -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.web.usecase.problem.CheckProblemUseCase
import com.few.api.web.usecase.problem.ReadProblemUseCase
import com.few.api.web.usecase.problem.`in`.CheckProblemUseCaseIn
import com.few.api.web.usecase.problem.`in`.ReadProblemUseCaseIn
import com.few.api.web.usecase.problem.out.CheckProblemUseCaseOut
import com.few.api.web.usecase.problem.out.ReadProblemContentsUseCaseOutDetail
import com.few.api.web.usecase.problem.out.ReadProblemUseCaseOut
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 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,10 +12,10 @@ 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.web.usecase.subscription.SubscribeWorkbookUseCase
import com.few.api.web.usecase.subscription.UnsubscribeWorkbookUseCase
import com.few.api.web.usecase.subscription.`in`.SubscribeWorkbookUseCaseIn
import com.few.api.web.usecase.subscription.`in`.UnsubscribeWorkbookUseCaseIn
import com.few.api.domain.subscription.SubscribeWorkbookUseCase
import com.few.api.domain.subscription.UnsubscribeWorkbookUseCase
import com.few.api.domain.subscription.`in`.SubscribeWorkbookUseCaseIn
import com.few.api.domain.subscription.`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 56fb03b

Please sign in to comment.