@Override
    public boolean equals(Object o)
    {
        if (this == o) return true;
        if (!(o instanceof FieldFilter)) return false;

        FieldFilter that = (FieldFilter) o;

        if (!field.equals(that.field)) return false;
        if (operator != that.operator) return false;
        if (value != null ? !value.equals(that.value) : that.value != null) return false;

        return true;
    }