@Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    if (!super.equals(o)) return false;

    SMBinary smBinary = (SMBinary) o;

    if (contentType != null ? !contentType.equals(smBinary.contentType) : smBinary.contentType != null) return false;
    if (fileName != null ? !fileName.equals(smBinary.fileName) : smBinary.fileName != null) return false;

    return true;
  }