From a72fa11fb0477387fefb0926fdc877ca734f6d61 Mon Sep 17 00:00:00 2001 From: devxb Date: Sat, 9 Mar 2024 12:00:47 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20survey.domain=20=ED=8C=A8=ED=82=A4?= =?UTF-8?q?=EC=A7=80=EB=A5=BC=20me.nalab.api.survey.domain=20=EC=9C=BC?= =?UTF-8?q?=EB=A1=9C=20=EB=B3=80=EA=B2=BD=ED=95=9C=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nalab/api/survey}/domain/feedback/Bookmark.kt | 7 +++---- .../domain/feedback/ChoiceFormQuestionFeedback.kt | 8 ++++---- .../nalab/api/survey}/domain/feedback/Feedback.kt | 10 +++++----- .../domain/feedback/FormQuestionFeedbackable.kt | 6 +++--- .../nalab/api/survey}/domain/feedback/Reviewer.kt | 6 +++--- .../domain/feedback/ShortFormQuestionFeedback.kt | 8 ++++---- .../api/survey}/domain/feedback/value/NickName.kt | 12 ++++++------ .../nalab/api/survey}/domain/survey/Choice.kt | 2 +- .../api/survey}/domain/survey/ChoiceFormQuestion.kt | 4 ++-- .../survey}/domain/survey/ChoiceFormQuestionType.kt | 2 +- .../api/survey}/domain/survey/FormQuestionable.kt | 2 +- .../nalab/api/survey}/domain/survey/QuestionType.kt | 2 +- .../api/survey}/domain/survey/ShortFormQuestion.kt | 2 +- .../survey}/domain/survey/ShortFormQuestionType.kt | 2 +- .../nalab/api/survey}/domain/survey/Survey.kt | 4 ++-- .../api/survey}/domain/survey/SurveyBookmark.kt | 2 +- .../api/survey}/domain/survey/SurveyRepository.kt | 2 +- .../nalab/api/survey}/domain/survey/Target.kt | 8 ++++---- .../survey/exception/DuplicatedOrderException.kt | 2 +- .../api/survey}/domain/survey/value/ImageUrl.kt | 2 +- .../nalab/api/survey}/domain/survey/value/Job.kt | 2 +- .../api/survey}/domain/survey/value/Position.kt | 2 +- 22 files changed, 48 insertions(+), 49 deletions(-) rename src/main/kotlin/{ => me/nalab/api/survey}/domain/feedback/Bookmark.kt (63%) rename src/main/kotlin/{ => me/nalab/api/survey}/domain/feedback/ChoiceFormQuestionFeedback.kt (57%) rename src/main/kotlin/{ => me/nalab/api/survey}/domain/feedback/Feedback.kt (77%) rename src/main/kotlin/{ => me/nalab/api/survey}/domain/feedback/FormQuestionFeedbackable.kt (80%) rename src/main/kotlin/{ => me/nalab/api/survey}/domain/feedback/Reviewer.kt (80%) rename src/main/kotlin/{ => me/nalab/api/survey}/domain/feedback/ShortFormQuestionFeedback.kt (62%) rename src/main/kotlin/{ => me/nalab/api/survey}/domain/feedback/value/NickName.kt (54%) rename src/main/kotlin/{ => me/nalab/api/survey}/domain/survey/Choice.kt (93%) rename src/main/kotlin/{ => me/nalab/api/survey}/domain/survey/ChoiceFormQuestion.kt (90%) rename src/main/kotlin/{ => me/nalab/api/survey}/domain/survey/ChoiceFormQuestionType.kt (60%) rename src/main/kotlin/{ => me/nalab/api/survey}/domain/survey/FormQuestionable.kt (95%) rename src/main/kotlin/{ => me/nalab/api/survey}/domain/survey/QuestionType.kt (55%) rename src/main/kotlin/{ => me/nalab/api/survey}/domain/survey/ShortFormQuestion.kt (89%) rename src/main/kotlin/{ => me/nalab/api/survey}/domain/survey/ShortFormQuestionType.kt (65%) rename src/main/kotlin/{ => me/nalab/api/survey}/domain/survey/Survey.kt (89%) rename src/main/kotlin/{ => me/nalab/api/survey}/domain/survey/SurveyBookmark.kt (86%) rename src/main/kotlin/{ => me/nalab/api/survey}/domain/survey/SurveyRepository.kt (74%) rename src/main/kotlin/{ => me/nalab/api/survey}/domain/survey/Target.kt (82%) rename src/main/kotlin/{ => me/nalab/api/survey}/domain/survey/exception/DuplicatedOrderException.kt (79%) rename src/main/kotlin/{ => me/nalab/api/survey}/domain/survey/value/ImageUrl.kt (84%) rename src/main/kotlin/{ => me/nalab/api/survey}/domain/survey/value/Job.kt (82%) rename src/main/kotlin/{ => me/nalab/api/survey}/domain/survey/value/Position.kt (83%) diff --git a/src/main/kotlin/domain/feedback/Bookmark.kt b/src/main/kotlin/me/nalab/api/survey/domain/feedback/Bookmark.kt similarity index 63% rename from src/main/kotlin/domain/feedback/Bookmark.kt rename to src/main/kotlin/me/nalab/api/survey/domain/feedback/Bookmark.kt index 4a2d34fe..247e3f96 100644 --- a/src/main/kotlin/domain/feedback/Bookmark.kt +++ b/src/main/kotlin/me/nalab/api/survey/domain/feedback/Bookmark.kt @@ -1,4 +1,4 @@ -package domain.feedback +package me.nalab.api.survey.domain.feedback import me.nalab.core.time.TimeUtil import java.time.Instant @@ -8,7 +8,7 @@ import javax.persistence.Embeddable @Embeddable class Bookmark( @Column(name = "is_bookmarked", nullable = false) - var isBookmarked: Boolean = domain.feedback.Bookmark.Companion.BOOKMARK_DEFAULT_STATE, + var isBookmarked: Boolean = BOOKMARK_DEFAULT_STATE, @Column(name = "bookmarked_at", columnDefinition = "TIMESTAMP(6)", nullable = false) var bookmarkedAt: Instant, @@ -17,7 +17,6 @@ class Bookmark( companion object { private const val BOOKMARK_DEFAULT_STATE = false - fun impossible(): domain.feedback.Bookmark = - domain.feedback.Bookmark(bookmarkedAt = TimeUtil.toInstant()) + fun impossible(): Bookmark = Bookmark(bookmarkedAt = TimeUtil.toInstant()) } } diff --git a/src/main/kotlin/domain/feedback/ChoiceFormQuestionFeedback.kt b/src/main/kotlin/me/nalab/api/survey/domain/feedback/ChoiceFormQuestionFeedback.kt similarity index 57% rename from src/main/kotlin/domain/feedback/ChoiceFormQuestionFeedback.kt rename to src/main/kotlin/me/nalab/api/survey/domain/feedback/ChoiceFormQuestionFeedback.kt index bfee6882..c1de7fc5 100644 --- a/src/main/kotlin/domain/feedback/ChoiceFormQuestionFeedback.kt +++ b/src/main/kotlin/me/nalab/api/survey/domain/feedback/ChoiceFormQuestionFeedback.kt @@ -1,4 +1,4 @@ -package domain.feedback +package me.nalab.api.survey.domain.feedback import javax.persistence.* @@ -7,11 +7,11 @@ class ChoiceFormQuestionFeedback( id: Long, formQuestionId: Long, isRead: Boolean = false, - bookmark: domain.feedback.Bookmark = domain.feedback.Bookmark.Companion.impossible(), - feedback: domain.feedback.Feedback, + bookmark: Bookmark = Bookmark.impossible(), + feedback: Feedback, @ElementCollection @Column(name = "selects") @CollectionTable(name = "selects", joinColumns = [JoinColumn(name = "form_feedback_id")]) private val selectedChoiceIds: MutableSet, -) : domain.feedback.FormQuestionFeedbackable(id, formQuestionId, isRead, bookmark, feedback) +) : FormQuestionFeedbackable(id, formQuestionId, isRead, bookmark, feedback) diff --git a/src/main/kotlin/domain/feedback/Feedback.kt b/src/main/kotlin/me/nalab/api/survey/domain/feedback/Feedback.kt similarity index 77% rename from src/main/kotlin/domain/feedback/Feedback.kt rename to src/main/kotlin/me/nalab/api/survey/domain/feedback/Feedback.kt index 5f885d86..0ec48ace 100644 --- a/src/main/kotlin/domain/feedback/Feedback.kt +++ b/src/main/kotlin/me/nalab/api/survey/domain/feedback/Feedback.kt @@ -1,4 +1,4 @@ -package domain.feedback +package me.nalab.api.survey.domain.feedback import me.nalab.core.data.common.TimeBaseEntity import javax.persistence.* @@ -18,17 +18,17 @@ class Feedback( fetch = FetchType.LAZY, cascade = [CascadeType.PERSIST, CascadeType.MERGE] ) - val questionFeedbacks: MutableList = mutableListOf(), + val questionFeedbacks: MutableList = mutableListOf(), @Column(name = "is_read", nullable = false) private var isRead: Boolean = false, @JoinColumn(name = "reviewer_id", nullable = false) @OneToOne(fetch = FetchType.LAZY, cascade = [CascadeType.PERSIST, CascadeType.MERGE]) - val reviewer: domain.feedback.Reviewer, -) : Comparable, TimeBaseEntity() { + val reviewer: Reviewer, +) : Comparable, TimeBaseEntity() { - override fun compareTo(other: domain.feedback.Feedback): Int { + override fun compareTo(other: Feedback): Int { if (updatedAt.isAfter(other.updatedAt)) { return -1 } diff --git a/src/main/kotlin/domain/feedback/FormQuestionFeedbackable.kt b/src/main/kotlin/me/nalab/api/survey/domain/feedback/FormQuestionFeedbackable.kt similarity index 80% rename from src/main/kotlin/domain/feedback/FormQuestionFeedbackable.kt rename to src/main/kotlin/me/nalab/api/survey/domain/feedback/FormQuestionFeedbackable.kt index d9dda3f4..7d21022c 100644 --- a/src/main/kotlin/domain/feedback/FormQuestionFeedbackable.kt +++ b/src/main/kotlin/me/nalab/api/survey/domain/feedback/FormQuestionFeedbackable.kt @@ -1,4 +1,4 @@ -package domain.feedback +package me.nalab.api.survey.domain.feedback import javax.persistence.* @@ -17,9 +17,9 @@ abstract class FormQuestionFeedbackable( open var isRead: Boolean = false, @Embedded - open val bookmark: domain.feedback.Bookmark, + open val bookmark: Bookmark, @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "feedback_id") - val feedback: domain.feedback.Feedback, + val feedback: Feedback, ) diff --git a/src/main/kotlin/domain/feedback/Reviewer.kt b/src/main/kotlin/me/nalab/api/survey/domain/feedback/Reviewer.kt similarity index 80% rename from src/main/kotlin/domain/feedback/Reviewer.kt rename to src/main/kotlin/me/nalab/api/survey/domain/feedback/Reviewer.kt index 3e21d05f..6b376111 100644 --- a/src/main/kotlin/domain/feedback/Reviewer.kt +++ b/src/main/kotlin/me/nalab/api/survey/domain/feedback/Reviewer.kt @@ -1,7 +1,7 @@ -package domain.feedback +package me.nalab.api.survey.domain.feedback import me.nalab.core.data.common.TimeBaseEntity -import domain.feedback.value.NickName +import me.nalab.api.survey.domain.feedback.value.NickName import javax.persistence.Column import javax.persistence.Entity import javax.persistence.Id @@ -15,7 +15,7 @@ class Reviewer( val id: Long, @Column(name = "nick_name", nullable = false) - internal var nickName: domain.feedback.value.NickName, + internal var nickName: NickName, @Column(name = "collaboration_experience", nullable = false) val collaborationExperience: Boolean, diff --git a/src/main/kotlin/domain/feedback/ShortFormQuestionFeedback.kt b/src/main/kotlin/me/nalab/api/survey/domain/feedback/ShortFormQuestionFeedback.kt similarity index 62% rename from src/main/kotlin/domain/feedback/ShortFormQuestionFeedback.kt rename to src/main/kotlin/me/nalab/api/survey/domain/feedback/ShortFormQuestionFeedback.kt index 6b48e24f..29d342fa 100644 --- a/src/main/kotlin/domain/feedback/ShortFormQuestionFeedback.kt +++ b/src/main/kotlin/me/nalab/api/survey/domain/feedback/ShortFormQuestionFeedback.kt @@ -1,4 +1,4 @@ -package domain.feedback +package me.nalab.api.survey.domain.feedback import javax.persistence.* @@ -7,11 +7,11 @@ class ShortFormQuestionFeedback( id: Long, formQuestionId: Long, isRead: Boolean = false, - bookmark: domain.feedback.Bookmark, - feedback: domain.feedback.Feedback, + bookmark: Bookmark, + feedback: Feedback, @ElementCollection @CollectionTable(name = "reply", joinColumns = [JoinColumn(name = "form_feedback_id")]) @Column(name = "replies") val replies: MutableList, -) : domain.feedback.FormQuestionFeedbackable(id, formQuestionId, isRead, bookmark, feedback) +) : FormQuestionFeedbackable(id, formQuestionId, isRead, bookmark, feedback) diff --git a/src/main/kotlin/domain/feedback/value/NickName.kt b/src/main/kotlin/me/nalab/api/survey/domain/feedback/value/NickName.kt similarity index 54% rename from src/main/kotlin/domain/feedback/value/NickName.kt rename to src/main/kotlin/me/nalab/api/survey/domain/feedback/value/NickName.kt index f4dc63a3..6f6fae8f 100644 --- a/src/main/kotlin/domain/feedback/value/NickName.kt +++ b/src/main/kotlin/me/nalab/api/survey/domain/feedback/value/NickName.kt @@ -1,4 +1,4 @@ -package domain.feedback.value +package me.nalab.api.survey.domain.feedback.value import javax.persistence.Embeddable @@ -9,20 +9,20 @@ class NickName( companion object { private const val FIRST_NAME = "A" - fun firstNickName(): domain.feedback.value.NickName = - domain.feedback.value.NickName(domain.feedback.value.NickName.Companion.FIRST_NAME) + fun firstNickName(): NickName = + NickName(FIRST_NAME) - fun nextNickName(lastName: String): domain.feedback.value.NickName { + fun nextNickName(lastName: String): NickName { for (i in lastName.length - 1 downTo 0) { if (lastName[i] != 'Z') { - return domain.feedback.value.NickName( + return NickName( lastName.substring(0, i) + (lastName[i].code + 1).toChar() + "A".repeat( lastName.length - (i + 1) ) ) } } - return domain.feedback.value.NickName("A".repeat(Math.max(0, lastName.length + 1))) + return NickName("A".repeat(Math.max(0, lastName.length + 1))) } } } diff --git a/src/main/kotlin/domain/survey/Choice.kt b/src/main/kotlin/me/nalab/api/survey/domain/survey/Choice.kt similarity index 93% rename from src/main/kotlin/domain/survey/Choice.kt rename to src/main/kotlin/me/nalab/api/survey/domain/survey/Choice.kt index 70a9d3ad..27c49039 100644 --- a/src/main/kotlin/domain/survey/Choice.kt +++ b/src/main/kotlin/me/nalab/api/survey/domain/survey/Choice.kt @@ -1,4 +1,4 @@ -package domain.survey +package me.nalab.api.survey.domain.survey import javax.persistence.* diff --git a/src/main/kotlin/domain/survey/ChoiceFormQuestion.kt b/src/main/kotlin/me/nalab/api/survey/domain/survey/ChoiceFormQuestion.kt similarity index 90% rename from src/main/kotlin/domain/survey/ChoiceFormQuestion.kt rename to src/main/kotlin/me/nalab/api/survey/domain/survey/ChoiceFormQuestion.kt index c24ef0d3..acda1998 100644 --- a/src/main/kotlin/domain/survey/ChoiceFormQuestion.kt +++ b/src/main/kotlin/me/nalab/api/survey/domain/survey/ChoiceFormQuestion.kt @@ -1,6 +1,6 @@ -package domain.survey +package me.nalab.api.survey.domain.survey -import me.nalab.survey.domain.survey.exception.DuplicatedOrderException +import me.nalab.api.survey.domain.survey.exception.DuplicatedOrderException import javax.persistence.* @Entity diff --git a/src/main/kotlin/domain/survey/ChoiceFormQuestionType.kt b/src/main/kotlin/me/nalab/api/survey/domain/survey/ChoiceFormQuestionType.kt similarity index 60% rename from src/main/kotlin/domain/survey/ChoiceFormQuestionType.kt rename to src/main/kotlin/me/nalab/api/survey/domain/survey/ChoiceFormQuestionType.kt index 0c04ba22..db8c8d54 100644 --- a/src/main/kotlin/domain/survey/ChoiceFormQuestionType.kt +++ b/src/main/kotlin/me/nalab/api/survey/domain/survey/ChoiceFormQuestionType.kt @@ -1,4 +1,4 @@ -package domain.survey +package me.nalab.api.survey.domain.survey enum class ChoiceFormQuestionType { TENDENCY, diff --git a/src/main/kotlin/domain/survey/FormQuestionable.kt b/src/main/kotlin/me/nalab/api/survey/domain/survey/FormQuestionable.kt similarity index 95% rename from src/main/kotlin/domain/survey/FormQuestionable.kt rename to src/main/kotlin/me/nalab/api/survey/domain/survey/FormQuestionable.kt index c5385810..f748a292 100644 --- a/src/main/kotlin/domain/survey/FormQuestionable.kt +++ b/src/main/kotlin/me/nalab/api/survey/domain/survey/FormQuestionable.kt @@ -1,4 +1,4 @@ -package domain.survey +package me.nalab.api.survey.domain.survey import me.nalab.core.data.common.TimeBaseEntity import javax.persistence.* diff --git a/src/main/kotlin/domain/survey/QuestionType.kt b/src/main/kotlin/me/nalab/api/survey/domain/survey/QuestionType.kt similarity index 55% rename from src/main/kotlin/domain/survey/QuestionType.kt rename to src/main/kotlin/me/nalab/api/survey/domain/survey/QuestionType.kt index 8499f1d6..4e49c271 100644 --- a/src/main/kotlin/domain/survey/QuestionType.kt +++ b/src/main/kotlin/me/nalab/api/survey/domain/survey/QuestionType.kt @@ -1,4 +1,4 @@ -package domain.survey +package me.nalab.api.survey.domain.survey enum class QuestionType { CHOICE, diff --git a/src/main/kotlin/domain/survey/ShortFormQuestion.kt b/src/main/kotlin/me/nalab/api/survey/domain/survey/ShortFormQuestion.kt similarity index 89% rename from src/main/kotlin/domain/survey/ShortFormQuestion.kt rename to src/main/kotlin/me/nalab/api/survey/domain/survey/ShortFormQuestion.kt index 71fb7f56..b62525b2 100644 --- a/src/main/kotlin/domain/survey/ShortFormQuestion.kt +++ b/src/main/kotlin/me/nalab/api/survey/domain/survey/ShortFormQuestion.kt @@ -1,4 +1,4 @@ -package domain.survey +package me.nalab.api.survey.domain.survey import javax.persistence.* diff --git a/src/main/kotlin/domain/survey/ShortFormQuestionType.kt b/src/main/kotlin/me/nalab/api/survey/domain/survey/ShortFormQuestionType.kt similarity index 65% rename from src/main/kotlin/domain/survey/ShortFormQuestionType.kt rename to src/main/kotlin/me/nalab/api/survey/domain/survey/ShortFormQuestionType.kt index 285e93d7..152a66d4 100644 --- a/src/main/kotlin/domain/survey/ShortFormQuestionType.kt +++ b/src/main/kotlin/me/nalab/api/survey/domain/survey/ShortFormQuestionType.kt @@ -1,4 +1,4 @@ -package domain.survey +package me.nalab.api.survey.domain.survey enum class ShortFormQuestionType { STRENGTH, diff --git a/src/main/kotlin/domain/survey/Survey.kt b/src/main/kotlin/me/nalab/api/survey/domain/survey/Survey.kt similarity index 89% rename from src/main/kotlin/domain/survey/Survey.kt rename to src/main/kotlin/me/nalab/api/survey/domain/survey/Survey.kt index ae9d2909..aff0b8cc 100644 --- a/src/main/kotlin/domain/survey/Survey.kt +++ b/src/main/kotlin/me/nalab/api/survey/domain/survey/Survey.kt @@ -1,7 +1,7 @@ -package domain.survey +package me.nalab.api.survey.domain.survey +import me.nalab.api.survey.domain.survey.exception.DuplicatedOrderException import me.nalab.core.data.common.TimeBaseEntity -import me.nalab.survey.domain.survey.exception.DuplicatedOrderException import javax.persistence.* @Table(name = "survey") diff --git a/src/main/kotlin/domain/survey/SurveyBookmark.kt b/src/main/kotlin/me/nalab/api/survey/domain/survey/SurveyBookmark.kt similarity index 86% rename from src/main/kotlin/domain/survey/SurveyBookmark.kt rename to src/main/kotlin/me/nalab/api/survey/domain/survey/SurveyBookmark.kt index 4eeddf88..4922174d 100644 --- a/src/main/kotlin/domain/survey/SurveyBookmark.kt +++ b/src/main/kotlin/me/nalab/api/survey/domain/survey/SurveyBookmark.kt @@ -1,4 +1,4 @@ -package domain.survey +package me.nalab.api.survey.domain.survey import javax.persistence.Column import javax.persistence.Embeddable diff --git a/src/main/kotlin/domain/survey/SurveyRepository.kt b/src/main/kotlin/me/nalab/api/survey/domain/survey/SurveyRepository.kt similarity index 74% rename from src/main/kotlin/domain/survey/SurveyRepository.kt rename to src/main/kotlin/me/nalab/api/survey/domain/survey/SurveyRepository.kt index 198d7866..59187bad 100644 --- a/src/main/kotlin/domain/survey/SurveyRepository.kt +++ b/src/main/kotlin/me/nalab/api/survey/domain/survey/SurveyRepository.kt @@ -1,4 +1,4 @@ -package domain.survey +package me.nalab.api.survey.domain.survey import org.springframework.data.jpa.repository.JpaRepository diff --git a/src/main/kotlin/domain/survey/Target.kt b/src/main/kotlin/me/nalab/api/survey/domain/survey/Target.kt similarity index 82% rename from src/main/kotlin/domain/survey/Target.kt rename to src/main/kotlin/me/nalab/api/survey/domain/survey/Target.kt index ff05069f..38cfb2ed 100644 --- a/src/main/kotlin/domain/survey/Target.kt +++ b/src/main/kotlin/me/nalab/api/survey/domain/survey/Target.kt @@ -1,9 +1,9 @@ -package domain.survey +package me.nalab.api.survey.domain.survey +import me.nalab.api.survey.domain.survey.value.ImageUrl +import me.nalab.api.survey.domain.survey.value.Job +import me.nalab.api.survey.domain.survey.value.Position import me.nalab.core.data.common.TimeBaseEntity -import me.nalab.survey.domain.survey.value.ImageUrl -import me.nalab.survey.domain.survey.value.Job -import me.nalab.survey.domain.survey.value.Position import javax.persistence.* @Entity diff --git a/src/main/kotlin/domain/survey/exception/DuplicatedOrderException.kt b/src/main/kotlin/me/nalab/api/survey/domain/survey/exception/DuplicatedOrderException.kt similarity index 79% rename from src/main/kotlin/domain/survey/exception/DuplicatedOrderException.kt rename to src/main/kotlin/me/nalab/api/survey/domain/survey/exception/DuplicatedOrderException.kt index f24d1efc..5b61d677 100644 --- a/src/main/kotlin/domain/survey/exception/DuplicatedOrderException.kt +++ b/src/main/kotlin/me/nalab/api/survey/domain/survey/exception/DuplicatedOrderException.kt @@ -1,4 +1,4 @@ -package domain.survey.exception +package me.nalab.api.survey.domain.survey.exception class DuplicatedOrderException internal constructor(duplicated: Int, orders: HashSet) : RuntimeException( diff --git a/src/main/kotlin/domain/survey/value/ImageUrl.kt b/src/main/kotlin/me/nalab/api/survey/domain/survey/value/ImageUrl.kt similarity index 84% rename from src/main/kotlin/domain/survey/value/ImageUrl.kt rename to src/main/kotlin/me/nalab/api/survey/domain/survey/value/ImageUrl.kt index 4dcf0d6a..3d4d9c20 100644 --- a/src/main/kotlin/domain/survey/value/ImageUrl.kt +++ b/src/main/kotlin/me/nalab/api/survey/domain/survey/value/ImageUrl.kt @@ -1,4 +1,4 @@ -package domain.survey.value +package me.nalab.api.survey.domain.survey.value import javax.persistence.Column import javax.persistence.Embeddable diff --git a/src/main/kotlin/domain/survey/value/Job.kt b/src/main/kotlin/me/nalab/api/survey/domain/survey/value/Job.kt similarity index 82% rename from src/main/kotlin/domain/survey/value/Job.kt rename to src/main/kotlin/me/nalab/api/survey/domain/survey/value/Job.kt index b052c3bc..f124d844 100644 --- a/src/main/kotlin/domain/survey/value/Job.kt +++ b/src/main/kotlin/me/nalab/api/survey/domain/survey/value/Job.kt @@ -1,4 +1,4 @@ -package domain.survey.value +package me.nalab.api.survey.domain.survey.value import javax.persistence.Column import javax.persistence.Embeddable diff --git a/src/main/kotlin/domain/survey/value/Position.kt b/src/main/kotlin/me/nalab/api/survey/domain/survey/value/Position.kt similarity index 83% rename from src/main/kotlin/domain/survey/value/Position.kt rename to src/main/kotlin/me/nalab/api/survey/domain/survey/value/Position.kt index ed477101..f555a07f 100644 --- a/src/main/kotlin/domain/survey/value/Position.kt +++ b/src/main/kotlin/me/nalab/api/survey/domain/survey/value/Position.kt @@ -1,4 +1,4 @@ -package domain.survey.value +package me.nalab.api.survey.domain.survey.value import javax.persistence.Column import javax.persistence.Embeddable