Generics Entity (hash, equals, toString)