import 'package:equatable/equatable.dart';

abstract class PaymentsEvent extends Equatable {
  const PaymentsEvent();

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

class LoadPaymentsEvent extends PaymentsEvent {}

class ChangePeriodEvent extends PaymentsEvent {

  const ChangePeriodEvent(this.period);
  final String period;

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