API 1.0.16 ExerciseDevice.sort, place

This commit is contained in:
Bossanyi Tibor
2020-11-26 18:36:54 +01:00
parent 059c9c7be2
commit 4cd5f07c89
7 changed files with 20 additions and 8 deletions
@@ -13,7 +13,9 @@ data class ExerciseDevice (
@get: NotBlank var name: String = "",
@get: NotBlank var description: String = "",
@get: NotBlank var imageUrl: String = ""
@get: NotBlank var imageUrl: String = "",
@get: NotBlank var sort: Int = 0,
@get: NotBlank var place: Int = 0
){
@OneToMany(cascade = [(CascadeType.ALL)], fetch = FetchType.EAGER, mappedBy = "exerciseDevice")
@Fetch(value = FetchMode.SUBSELECT)
@@ -16,6 +16,6 @@ logging.config=classpath:logback-spring.xml
logging.file=logs
# if the database structure has been changed, increment this version number
application.version=1.0.15
application.version=1.0.16
jwt.secret=aitrainer
+1 -1
View File
@@ -16,6 +16,6 @@ logging.config=classpath:logback-spring.xml
logging.file=logs
# if the database structure has been changed, increment this version number
application.version=1.0.15
application.version=1.0.16
jwt.secret=aitrainer