@Override
  public boolean equals(final Object obj) {
    if (obj == this) {
      return true;
    }

    if (!(obj instanceof Customer)) {
      return false;
    }

    final Customer that = (Customer) obj;

    return (ObjectUtils.equals(getCustomerId(), that.getCustomerId())
        && ObjectUtils.equals(getLastName(), that.getLastName())
        && ObjectUtils.equals(getFirstName(), that.getFirstName())
        && ObjectUtils.equals(getSocialSecurityNumber(), that.getSocialSecurityNumber()));
  }
The Customer class models a customer entity.
<p>

@since GemFire 8.0
geode-assembly/geode-assembly-test/src/main/java/org/apache/geode/rest/internal/web/controllers/Customer.java