From 0e48f7dcee3ae1099108303307d29737d07a41af Mon Sep 17 00:00:00 2001 From: devxb Date: Sun, 10 Mar 2024 10:08:09 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20kotlin=20all=20open=20gradle?= =?UTF-8?q?=EC=9D=98=20jakarata=EB=A5=BC=20javax=EB=A1=9C=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD=ED=95=9C=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gradle/kotlin.gradle | 2 +- .../nalab/api/survey/domain/survey/FormQuestionable.kt | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gradle/kotlin.gradle b/gradle/kotlin.gradle index 838af1f3..9081e938 100644 --- a/gradle/kotlin.gradle +++ b/gradle/kotlin.gradle @@ -14,7 +14,7 @@ allprojects { apply plugin: 'org.jetbrains.kotlin.plugin.allopen' allOpen { - annotation("jakarta.persistence.Entity") + annotation("javax.persistence.Entity") } dependencies { diff --git a/src/main/kotlin/me/nalab/api/survey/domain/survey/FormQuestionable.kt b/src/main/kotlin/me/nalab/api/survey/domain/survey/FormQuestionable.kt index 7c39af9c..191f5780 100644 --- a/src/main/kotlin/me/nalab/api/survey/domain/survey/FormQuestionable.kt +++ b/src/main/kotlin/me/nalab/api/survey/domain/survey/FormQuestionable.kt @@ -8,21 +8,21 @@ import javax.persistence.* abstract class FormQuestionable( @Id @Column(name = "form_question_id") - open val id: Long, + val id: Long, @Column(name = "title", nullable = false, length = 45) - open val title: String, + val title: String, @Column(name = "orders", nullable = false) - open val order: Int, + val order: Int, @Enumerated(EnumType.STRING) @Column(name = "question_type") - open val questionType: QuestionType, + val questionType: QuestionType, @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "survey_id", nullable = false) - open val survey: Survey, + val survey: Survey, ) : Comparable, TimeBaseEntity() { override fun compareTo(other: FormQuestionable): Int = this.order.compareTo(other.order)