public function byUserIds($userIds) { $this->model = $this->model->whereIn('user_id', $userIds); return $this; }