added version to abstract base entity, added overridden hashCode and equals method to restaurant entity