import 'package:equatable/equatable.dart';

/// Summary of staff earnings.
class PaymentSummary extends Equatable {
  final double weeklyEarnings;
  final double monthlyEarnings;
  final double pendingEarnings;
  final double totalEarnings;

  const PaymentSummary({
    required this.weeklyEarnings,
    required this.monthlyEarnings,
    required this.pendingEarnings,
    required this.totalEarnings,
  });

  @override
  List<Object?> get props => [
        weeklyEarnings,
        monthlyEarnings,
        pendingEarnings,
        totalEarnings,
      ];
}
