add ENTITY_NAME constant the create an repositioy in an easier way
make private properties from inherit entity protected (because Doctrine didn't find them otherwise)