part of 'discount_management_bloc.dart';

abstract class DiscountManagementState {}

class DiscountManagementInitial extends DiscountManagementState {}

class DiscountManagementLoading extends DiscountManagementState {}

class DiscountManagementLoaded extends DiscountManagementState {
  final List<DiscountEntity> discounts;

  DiscountManagementLoaded(this.discounts);
}

class DiscountManagementError extends DiscountManagementState {
  final String message;

  DiscountManagementError(this.message);
}

class DiscountDeleteInProgress extends DiscountManagementState {}

class DiscountDeleteSuccess extends DiscountManagementState {
  final String message;
  DiscountDeleteSuccess(this.message);
}

class DiscountDeleteFailure extends DiscountManagementState {
  final String error;
  DiscountDeleteFailure(this.error);
}