import 'package:equatable/equatable.dart';

/// Represents a job category / skill type.
///
/// Examples: "Waiter", "Security Guard", "Bartender".
/// Linked to a [SkillCategory].
class Skill extends Equatable {

  const Skill({
    required this.id,
    required this.categoryId,
    required this.name,
    required this.basePrice,
  });
  /// Unique identifier.
  final String id;

  /// The broader category (e.g. "Hospitality").
  final String categoryId;

  /// Display name of the skill.
  final String name;

  /// Default hourly rate suggested for this skill.
  final double basePrice;

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