import 'package:equatable/equatable.dart';

/// Represents an emergency contact for a user.
///
/// Critical for staff safety during shifts.
class EmergencyContact extends Equatable {

  const EmergencyContact({
    required this.name,
    required this.relationship,
    required this.phone,
  });
  /// Full name of the contact.
  final String name;

  /// Relationship to the user (e.g. "Spouse", "Parent").
  final String relationship;

  /// Phone number.
  final String phone;

  @override
  List<Object?> get props => <Object?>[name, relationship, phone];
}