belongsTo('App\Model\Products', 'product_id'); } public function range() { return $this->belongsTo('App\Model\Ranges', 'range_id'); } }