protected static function getListfilter($properties)
    {
        return function ($item) use ($properties) {
            foreach ($properties as $property => $value)
                if (static::get($item, $property) != $value)
                    return false;
            return true;
        };
    }