Overriden hashcode, equlas and toString methods for entities for
comparison during audit logging.