input: 
  class StoreItem:
      def __init__(self, item_id, name, price, description):
          self.item_id = item_id
          self.name = name
          self.price = price
          self.description = description
  
      def __str__(self):
          return f'{self.name}, ${self.price}'
  
      def to_dict(self):
          return {
              'item_id': self.item_id,
              'name': self.name,
              'price': self.price,
              'description': self.description
          }
  
  # Example usage:
  item = StoreItem(1, 'Apple', 0.5, 'A red fruit')
  print(item.to_dict())  # {'item_id': 1, 'name': 'Apple', 'price': 0.5, 'description': 'A red fruit'}
  
output:     
      def __eq__(self, other):
          if isinstance(other, StoreItem):
              return self.item_id == other.item_id
          return False
  
      def __hash__(self):
          return hash(self.item_id)
  