import 'package:equatable/equatable.dart';

/// Represents a geographical area where a [Staff] member is willing to work.
class WorkingArea extends Equatable {

  const WorkingArea({
    required this.id,
    required this.name,
    required this.centerLat,
    required this.centerLng,
    required this.radiusKm,
  });
  /// Unique identifier.
  final String id;

  /// Name of the area (e.g. "London Zone 1").
  final String name;

  /// Latitude of the center point.
  final double centerLat;

  /// Longitude of the center point.
  final double centerLng;

  /// Radius in Kilometers.
  final double radiusKm;

  @override
  List<Object?> get props => <Object?>[id, name, centerLat, centerLng, radiusKm];
}