part of 'development_diagram_bloc.dart';

abstract class DevelopmentDiagramEvent extends Equatable {
  const DevelopmentDiagramEvent();

  @override
  List<Object> get props => [];
}

class DevelopmentDiagramLoad extends DevelopmentDiagramEvent {
  const DevelopmentDiagramLoad();
}

class DevelopmentDiagramChangeDateFormat extends DevelopmentDiagramEvent {
  final DiagramDateFilter dateFilter;
  const DevelopmentDiagramChangeDateFormat({required this.dateFilter});
}

class DevelopmentDiagramChangeGroup extends DevelopmentDiagramEvent {
  final DiagramGroup group;
  const DevelopmentDiagramChangeGroup({required this.group});
}

class DevelopmentDiagramInitCustomerData extends DevelopmentDiagramEvent {
  final CustomerRepository customerRepository;
  final String propertyName;

  const DevelopmentDiagramInitCustomerData({required this.customerRepository, required this.propertyName});
  @override
  List<Object> get props => [customerRepository, propertyName];
}

class DevelopmentDiagramInitExerciseData extends DevelopmentDiagramEvent {
  final ExerciseRepository exerciseRepository;
  final int exerciseTypeId;

  const DevelopmentDiagramInitExerciseData({required this.exerciseRepository, required this.exerciseTypeId});
  @override
  List<Object> get props => [exerciseRepository, exerciseTypeId];
}
