import 'package:app_hit_a_wod/src/models/exercise.model.dart';
import 'package:json_annotation/json_annotation.dart';

part 'training_workout_line.model.g.dart';

@JsonSerializable()
class TrainingWorkoutLine {

  TrainingWorkoutLine();

  factory TrainingWorkoutLine.fromJson(Map<String, dynamic> json) => _$TrainingWorkoutLineFromJson(json);
  Map<String, dynamic> toJson() => _$TrainingWorkoutLineToJson(this);

  int id;
  int training_workout_section_id;
  String description;
  int exercise_id;
  Exercise exercise;
  int seconds;
  String reps;
  String maleVal;
  String femaleVal;
  String units;
  int exercise_scaled_id;
  Exercise exercise_scaled;
  int seconds_scaled;
  String reps_scaled;
  String maleVal_scaled;
  String femaleVal_scaled;
  String units_scaled;
  DateTime created_at;
  DateTime updated_at;

}