Test case add new exercise.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user