allow entities equals Repository