Added get repository to the entity parent class