add __eq__, __ne__ to Entity