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

        Client client = (Client) o;

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

        return true;
    }