[model] Pair : override equals method