added equals & hashCode
Merge pull request #747 from chandnisingh/MLHR-873

added equals & hashCode