diff --git a/src/main/kotlin/com/wafflestudio/csereal/core/about/api/AboutController.kt b/src/main/kotlin/com/wafflestudio/csereal/core/about/api/AboutController.kt index 06da6a2e..fcc947fe 100644 --- a/src/main/kotlin/com/wafflestudio/csereal/core/about/api/AboutController.kt +++ b/src/main/kotlin/com/wafflestudio/csereal/core/about/api/AboutController.kt @@ -1,7 +1,7 @@ package com.wafflestudio.csereal.core.about.api import com.wafflestudio.csereal.common.properties.LanguageType -import com.wafflestudio.csereal.core.about.database.AboutSearchResBody +import com.wafflestudio.csereal.core.about.api.res.AboutSearchResBody import com.wafflestudio.csereal.core.about.dto.* import com.wafflestudio.csereal.core.about.dto.AboutRequest import com.wafflestudio.csereal.core.about.dto.FutureCareersRequest diff --git a/src/main/kotlin/com/wafflestudio/csereal/core/about/database/AboutSearchElementDto.kt b/src/main/kotlin/com/wafflestudio/csereal/core/about/api/res/AboutSearchElementDto.kt similarity index 86% rename from src/main/kotlin/com/wafflestudio/csereal/core/about/database/AboutSearchElementDto.kt rename to src/main/kotlin/com/wafflestudio/csereal/core/about/api/res/AboutSearchElementDto.kt index a73d041d..0e6a09ff 100644 --- a/src/main/kotlin/com/wafflestudio/csereal/core/about/database/AboutSearchElementDto.kt +++ b/src/main/kotlin/com/wafflestudio/csereal/core/about/api/res/AboutSearchElementDto.kt @@ -1,8 +1,10 @@ -package com.wafflestudio.csereal.core.about.database +package com.wafflestudio.csereal.core.about.api.res import com.wafflestudio.csereal.common.properties.LanguageType import com.wafflestudio.csereal.common.utils.cleanTextFromHtml import com.wafflestudio.csereal.common.utils.substringAroundKeyword +import com.wafflestudio.csereal.core.about.database.AboutEntity +import com.wafflestudio.csereal.core.about.database.AboutPostType data class AboutSearchElementDto private constructor( val id: Long, diff --git a/src/main/kotlin/com/wafflestudio/csereal/core/about/database/AboutSearchResBody.kt b/src/main/kotlin/com/wafflestudio/csereal/core/about/api/res/AboutSearchResBody.kt similarity index 65% rename from src/main/kotlin/com/wafflestudio/csereal/core/about/database/AboutSearchResBody.kt rename to src/main/kotlin/com/wafflestudio/csereal/core/about/api/res/AboutSearchResBody.kt index fbfac151..5c48e99b 100644 --- a/src/main/kotlin/com/wafflestudio/csereal/core/about/database/AboutSearchResBody.kt +++ b/src/main/kotlin/com/wafflestudio/csereal/core/about/api/res/AboutSearchResBody.kt @@ -1,4 +1,4 @@ -package com.wafflestudio.csereal.core.about.database +package com.wafflestudio.csereal.core.about.api.res data class AboutSearchResBody( val total: Long, diff --git a/src/main/kotlin/com/wafflestudio/csereal/core/about/service/AboutService.kt b/src/main/kotlin/com/wafflestudio/csereal/core/about/service/AboutService.kt index 97d73150..3fe5367f 100644 --- a/src/main/kotlin/com/wafflestudio/csereal/core/about/service/AboutService.kt +++ b/src/main/kotlin/com/wafflestudio/csereal/core/about/service/AboutService.kt @@ -2,6 +2,8 @@ package com.wafflestudio.csereal.core.about.service import com.wafflestudio.csereal.common.CserealException import com.wafflestudio.csereal.common.properties.LanguageType +import com.wafflestudio.csereal.core.about.api.res.AboutSearchElementDto +import com.wafflestudio.csereal.core.about.api.res.AboutSearchResBody import com.wafflestudio.csereal.core.about.database.* import com.wafflestudio.csereal.core.about.dto.* import com.wafflestudio.csereal.core.resource.attachment.service.AttachmentService