Changes generated entity properties to protected in order to match abstract entity and make it accessible by the extending object.