ExerciseTreeTranslation fix

This commit is contained in:
Bossanyi Tibor
2020-08-02 17:45:40 +02:00
parent af32c32a70
commit cec8f5a4a4
4 changed files with 39 additions and 3 deletions
@@ -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
)
}