public function masterProduct() { return $this->belongsTo(self::class, 'master_product_id', 'product_id'); }