mirrored_repositories/Expenses_Tracker_App/lib/bloc
part of 'get_expenses_bloc.dart';

sealed class GetExpensesEvent extends Equatable {
  const GetExpensesEvent();

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

class GetExpenses extends GetExpensesEvent {
  final Expense expense;
  const GetExpenses(this.expense);

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

class ExpensesUpdate extends GetExpensesEvent {
  final Expense expense;

  const ExpensesUpdate(this.expense);

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

class ExpensesDelete extends GetExpensesEvent {
  final Expense expense;

  const ExpensesDelete(this.expense);

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

class UndoDeleteExpense extends GetExpensesEvent {
  final Expense deletedExpense;

  const UndoDeleteExpense(this.deletedExpense);

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

class ExpensesDate extends GetExpensesEvent {
  final String date;

  const ExpensesDate(this.date);

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