import 'package:be_happy/domain/entities/client_subscription.dart';

import '../../domain/entities/subscription.dart';

abstract class SubscriptionState {}

class SubscriptionsLoading extends SubscriptionState {}

class SubscriptionsLoaded extends SubscriptionState {
  final List<Subscription> subscriptions;
  final List<ClientSubscription> activeSubscriptions;

  SubscriptionsLoaded({
    required this.subscriptions,
    required this.activeSubscriptions,
  });
}

class SubscriptionsError extends SubscriptionState {
  final String message;
  SubscriptionsError(this.message);
}