import 'package:equatable/equatable.dart';

/// Represents a type of order that can be created (e.g., Rapid, One-Time).
///
/// This entity defines the identity and display metadata (keys) for the order type.
/// UI-specific properties like colors and icons are handled by the presentation layer.
class OrderType extends Equatable {

  const OrderType({
    required this.id,
    required this.titleKey,
    required this.descriptionKey,
  });
  /// Unique identifier for the order type.
  final String id;

  /// Translation key for the title.
  final String titleKey;

  /// Translation key for the description.
  final String descriptionKey;

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