public static function findAllByAttributes($attributes, $condition = null, $params = [])
    {
        $class = get_called_class();
        $condition = ModelCondition::getFrom($condition, $class);
        foreach ($attributes as $name => $value) {
            $condition->compareColumn($name, $value);
        }
        return self::findAll($condition, $params);
    }