ExercisePlan, Detail Update, Delete
This commit is contained in:
@@ -11,7 +11,8 @@ data class ExercisePlan(
|
||||
@get: NonNull var name: String? = null,
|
||||
@get: NonNull var description: String? = null,
|
||||
@get: NonNull var private: Boolean = false,
|
||||
@get: NonNull var dateAdd: String? = null
|
||||
@get: NonNull var dateAdd: String? = null,
|
||||
@get: NonNull var dateUpd: String? = null
|
||||
) {
|
||||
|
||||
@Id
|
||||
|
||||
@@ -19,5 +19,5 @@ data class ExercisePlanDetail (
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
val exercisePlanDetailId: Long = 0
|
||||
var exercisePlanDetailId: Long = 0
|
||||
}
|
||||
Reference in New Issue
Block a user