if (this == o) return true;
if (!(o instanceof VersionedSample)) return false;
final VersionedSample versionedSample = (VersionedSample) o;
if(versionedSample.pkey != this.pkey) return false;
if (version != versionedSample.version) return false;
if (address != null ? !address.equals(versionedSample.address) :
versionedSample.address != null) return false;
if (city != null ? !city.equals(versionedSample.city) :
versionedSample.city != null) return false;
if (name != null ? !name.equals(versionedSample.name) :
versionedSample.name != null) return false;
return true;