public function setModel(IlluminateEloquentModel $model)
    {
        // Set repository model
        $this->model = $model;

        // Set repository builder from model
        $this->setBuilder($model->newQuery());

        return $this;
    }