Test case add new exercise.

This commit is contained in:
Bossanyi Tibor
2020-05-24 08:21:40 +02:00
parent 2eb5a6ae03
commit 5c85e28269
5 changed files with 21 additions and 40 deletions
@@ -1,7 +1,6 @@
package com.aitrainer.api.model
import org.springframework.lang.NonNull
import java.sql.Date
import javax.persistence.Entity
import javax.persistence.GeneratedValue
import javax.persistence.GenerationType
@@ -12,7 +11,7 @@ import javax.validation.constraints.Null
data class Exercises (
@get: NonNull var exerciseTypeId: Long = 0,
@get: NonNull var customerId: Long = 0,
@get: NonNull var datetimeExercise: Date? = null,
@get: NonNull var datetimeExercise: String? = null,
@get: NonNull var quantity: Int = 0,
@get: Null var restTime: Int?, // in seconds