API 1.0.55 training_plan next, ecto,endo extensions
This commit is contained in:
@@ -17,6 +17,7 @@ data class TrainingPlan (
|
||||
@Expose var internalName: String?,
|
||||
@Expose var free: Boolean?,
|
||||
@Expose @get: NotBlank var active: Boolean = false,
|
||||
@Expose var nextTrainingPlanId: Int?,
|
||||
) {
|
||||
@OneToMany(cascade = [(CascadeType.ALL)], fetch = FetchType.EAGER, mappedBy = "trainingPlan")
|
||||
@Fetch(value = FetchMode.SUBSELECT)
|
||||
|
||||
@@ -18,6 +18,12 @@ data class TrainingPlanDetail (
|
||||
@Expose var parallel: Boolean? = false,
|
||||
@Expose var day: String? = null,
|
||||
@Expose var dayId: Int? = 0,
|
||||
@Expose var ectoRepeats: Int? = 0,
|
||||
@Expose var ectoWeight: Double? = 0.0,
|
||||
@Expose var endoRepeats: Int? = 0,
|
||||
@Expose var endoWeight: Double? = 0.0,
|
||||
@Expose var round: Int? = 0,
|
||||
@Expose var roundGroup: String? = null,
|
||||
|
||||
) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user