Change AbstactEntity to abstract