API 1.0.42 exercises.training_plan_details_id
This commit is contained in:
@@ -14,6 +14,9 @@ data class CustomerTrainingPlanDetails (
|
||||
@Expose var set: Int?,
|
||||
@Expose var repeats: Int?,
|
||||
@Expose var weight: Double?,
|
||||
@Expose var restingTime: Int? = 0,
|
||||
@Expose var parallel: Boolean? = false,
|
||||
@Expose var day: String? = null,
|
||||
) {
|
||||
@ManyToOne(fetch = FetchType.LAZY, optional = false)
|
||||
@JoinColumn(name = "customerTrainingPlanId", nullable = false)
|
||||
|
||||
@@ -18,6 +18,7 @@ data class Exercises (
|
||||
@Expose @get: NonNull var unit: String? = null,
|
||||
@Expose @get: NonNull var unitQuantity: Double? = null,
|
||||
@Expose @get: NonNull var exercisePlanDetailId: Int = 0,
|
||||
@Expose var trainingPlanDetailsId: Int? = 0,
|
||||
|
||||
@Expose @Id @GeneratedValue(strategy = GenerationType.IDENTITY) val exerciseId: Long = 0
|
||||
)
|
||||
Reference in New Issue
Block a user