added pagination select to any entity