import 'package:equatable/equatable.dart';
import '../organization/organization_state.dart';

abstract class ActivityState extends Equatable {
  const ActivityState();

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

class ActivityInitial extends ActivityState {}

class ActivityLoading extends ActivityState {}

class ActivityLoaded extends ActivityState {
  final List<Activity> activities;

  const ActivityLoaded({required this.activities});

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

class ActivityError extends ActivityState {
  final String error;

  const ActivityError(this.error);

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