ExerciseTreeTranslation fix
This commit is contained in:
@@ -10,10 +10,12 @@ data class ExerciseTreeTranslation (
|
||||
val translationId: Long = 0,
|
||||
|
||||
@get: NotBlank var languageCode: String?,
|
||||
@get: NotBlank var name: String = "",
|
||||
@get: NotBlank var name: String = ""
|
||||
|
||||
|
||||
) {
|
||||
@ManyToOne(fetch = FetchType.EAGER, optional = false)
|
||||
@JoinColumn(name = "treeId", nullable = false)
|
||||
val exerciseTree: ExerciseTree? = null
|
||||
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user