import 'package:equatable/equatable.dart';

abstract class GetMyOrderEvent extends Equatable {
  @override
  // TODO: implement props
  List<Object?> get props => [];
}

class FetchMyOrder extends GetMyOrderEvent {
  final String? dateFilter;
  final String? statusSort;
  final String? deliveryType;
  FetchMyOrder({this.dateFilter, this.statusSort, this.deliveryType});
  @override
  // TODO: implement props
  List<Object?> get props => [dateFilter, statusSort, deliveryType];
}

class FetchMoreMyOrder extends GetMyOrderEvent {
  final String? dateFilter;
  final String? statusSort;
  final String? deliveryType;
  FetchMoreMyOrder({this.dateFilter, this.statusSort, this.deliveryType});
  @override
  // TODO: implement props
  List<Object?> get props => [dateFilter, statusSort, deliveryType];
}

class RefreshMyOrders extends GetMyOrderEvent {
  final String? dateFilter;
  final String? statusSort;
  final String? deliveryType;
  RefreshMyOrders({this.dateFilter, this.statusSort, this.deliveryType});
  @override
  // TODO: implement props
  List<Object?> get props => [dateFilter, statusSort, deliveryType];
}

class UpdateDateFilter extends GetMyOrderEvent {
  final String dateFilter;
  UpdateDateFilter({required this.dateFilter});

  @override
  // TODO: implement props
  List<Object?> get props => [dateFilter];
}

class UpdateStatusFilter extends GetMyOrderEvent {
  final String statusFilter;
  UpdateStatusFilter({required this.statusFilter});

  @override
  // TODO: implement props
  List<Object?> get props => [statusFilter];
}

class ClearDateFilter extends GetMyOrderEvent {}

class ClearStatusFilter extends GetMyOrderEvent {}