/// Order Status Entity
///
/// Represents an order status option from the API.
library;

import 'package:equatable/equatable.dart';

/// Order Status Entity
class OrderStatus extends Equatable {
  /// Status value (e.g., "Pending approval", "Processing", "Completed")
  final String status;

  /// Vietnamese label (e.g., "Chờ phê duyệt", "Đang xử lý", "Hoàn thành")
  final String label;

  /// Color indicator (e.g., "Warning", "Success", "Danger")
  final String color;

  /// Display order index
  final int index;

  const OrderStatus({
    required this.status,
    required this.label,
    required this.color,
    required this.index,
  });

  @override
  List<Object?> get props => [status, label, color, index];
}
