input: Write a function to generate a Python class for an online store item that includes fields for ID, name, price, and description. The class should also include a method to convert the item to a dictionary and a string representation.
  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
          }
  
  assert str(StoreItem('I123', 'Laptop', 999.99, 'A powerful laptop')) == 'Laptop, $999.99'
  assert StoreItem('I124', 'Mouse', 19.99, 'A wireless mouse').to_dict() == {'item_id': 'I124', 'name': 'Mouse', 'price': 19.99, 'description': 'A wireless mouse'}
output: 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
          }