import 'package:equatable/equatable.dart';

/// Represents a specific time block or "shift" within an [Event].
///
/// An Event can have multiple shifts (e.g. "Morning Shift", "Evening Shift").
class EventShift extends Equatable {

  const EventShift({
    required this.id,
    required this.eventId,
    required this.name,
    required this.address,
  });
  /// Unique identifier.
  final String id;

  /// The [Event] this shift belongs to.
  final String eventId;

  /// Descriptive name (e.g. "Setup Crew").
  final String name;

  /// Specific address for this shift (if different from Hub).
  final String address;

  @override
  List<Object?> get props => <Object?>[id, eventId, name, address];
}