input: Write a function to generate a Python class for an online store item that includes fields for ID, name, price, and description, including methods to convert the item to a string and to a dictionary.
  
  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(1, "Book", 10, "A great read")) == "Book, $10"
  assert str(StoreItem(2, "Notebook", 5, "Spiral bound")) == "Notebook, $5"
  assert StoreItem(1, "Book", 10, "A great read").to_dict() == {'item_id': 1, 'name': 'Book', 'price': 10, 'description': 'A great read'}
  assert StoreItem(2, "Notebook", 5, "Spiral bound").to_dict() == {'item_id': 2, 'name': 'Notebook', 'price': 5, 'description': 'Spiral bound'}
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
          }