updated ProductModel Class: changed the type of attributes.