API 1.0.50+1 AppText Translations.translation

This commit is contained in:
Tibor Bossanyi (Freelancer)
2021-09-14 07:43:46 +02:00
parent 0ba5909a0e
commit 254bc6c5ff
3 changed files with 9 additions and 9 deletions
@@ -10,7 +10,7 @@ import javax.validation.constraints.NotBlank
data class AppTextTranslation (
@Expose @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @get: NonNull var translationId: Long = 0,
@Expose @get: NotBlank var languageCode: String? = "hu",
@Expose @get: NonNull var text: String? = null
@Expose @get: NonNull var translation: String? = null
) {
@ManyToOne(fetch = FetchType.LAZY, optional = false)
@JoinColumn(name = "textId", nullable = false)