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

        Person person = (Person) o;

        if (!firstName.equals(person.firstName)) return false;
        if (id != null ? !id.equals(person.id) : person.id != null) return false;
        if (!lastName.equals(person.lastName)) return false;

        return true;
    }