protected function getDefaultPerPage()
    {
        if (is_numeric($this->perPage) && $this->perPage > 0) {
            return $this->perPage;
        }

        return config('repository.perPage', $this->makeModel(false)->getPerPage());
    }