In order for @properties to operate correctly the class ought to be a subclass of item. when the class just isn't a subclass of item then The 1st time you try access the setter it in fact will make a brand new attribute Along with the shorter identify in place https://godrejprojectsector49gurgaon.blogspot.com