add get_by_pk & get_all for Entity