part of 'past_bookings_bloc.dart';

sealed class PastBookingsState extends Equatable {
  const PastBookingsState();

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

final class PastBookingsInitial extends PastBookingsState {}

final class PastBookingLoadingState extends PastBookingsState {}

final class PastBookingLoadedState extends PastBookingsState {
  final List<BookingModel> pastBookings;
  const PastBookingLoadedState({
    required this.pastBookings,
  });
}

final class PastBookingErrorState extends PastBookingsState {
  final String errorMsg;
  const PastBookingErrorState(this.errorMsg);
}
