API1.0.28 ExerciseTree description

This commit is contained in:
Bossanyi Tibor
2021-03-10 21:14:51 +01:00
parent d2d7948a49
commit 2bb531afcd
9 changed files with 61 additions and 40 deletions
@@ -12,6 +12,7 @@ data class ExerciseTree (
@Expose @Id @GeneratedValue(strategy = GenerationType.IDENTITY) val treeId: Long = 0,
@Expose @get: NotBlank var name: String = "",
@Expose @get: NotBlank var description: String = "",
@Expose @get: NotBlank var imageUrl: String = "",
@Expose @get: NonNull var active: Boolean?
@@ -10,7 +10,8 @@ data class ExerciseTreeTranslation (
@Expose @Id @GeneratedValue(strategy = GenerationType.IDENTITY) val translationId: Long = 0,
@Expose @get: NotBlank var languageCode: String?,
@Expose @get: NotBlank var name: String = ""
@Expose @get: NotBlank var name: String = "",
@Expose @get: NotBlank var description: String = ""
) {