Add a hashCode function for ComputerDetails