In order for @properties to operate appropriately The category has to be a subclass of item. when The category isn't a subclass of item then The very first time you are attempting accessibility the setter it in fact would make a completely new attribute Using the shorter identify instead of https://satyameranogreensplotsgurgaon.blogspot.com