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

part 'user_benchmark_section.model.g.dart';

@JsonSerializable()
class UserBenchmarkSection {

  UserBenchmarkSection();

  factory UserBenchmarkSection.fromJson(Map<String, dynamic> json) => _$UserBenchmarkSectionFromJson(json);
  Map<String, dynamic> toJson() => _$UserBenchmarkSectionToJson(this);

  int id;
  int user_benchmark_id;
  int training_workout_section_id;
  String time;
  int completed;
  int rounds;
  int reps;
  int custom_score;
  DateTime created_at;
  DateTime updated_at;
  double score_section;
  List<UserBenchmarkLine> user_benchmark_lines;

}