import 'package:equatable/equatable.dart';

/// Represents a department within a [Hub].
///
/// Used for more granular organization of staff and events (e.g. "Kitchen", "Service").
class HubDepartment extends Equatable {

  const HubDepartment({
    required this.id,
    required this.hubId,
    required this.name,
  });
  /// Unique identifier.
  final String id;

  /// The [Hub] this department belongs to.
  final String hubId;

  /// Name of the department.
  final String name;

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