add setProperty function to class ItemModel