part of 'assistant_comments_cubit.dart';

sealed class AssistantCommentsState extends Equatable {
  final List<AssistantComments> comments;
  final int page;
  final int? lastPage;

  const AssistantCommentsState(
      {this.comments = const [], this.page = 1, this.lastPage});

  @override
  List<Object> get props => [comments, page, lastPage ?? 0];
}

final class AssistantCommentsInitial extends AssistantCommentsState {}

final class AssistantCommentsLoading extends AssistantCommentsState {
  const AssistantCommentsLoading({super.comments, super.page, super.lastPage});
}

final class AssistantCommentsFail extends AssistantCommentsState {
  const AssistantCommentsFail({super.comments, super.page, super.lastPage});
}

final class AssistantCommentsSuccess extends AssistantCommentsState {
  const AssistantCommentsSuccess({super.comments, super.page, super.lastPage});
}
