public function productsInRange() { if (!($mappings = $this->typeMappings())) { return []; } return self::whereIn('product_id', array_keys($mappings))->get(); }