belongsTo(Invoice::class, 'invoice_id', 'id'); } public function order() { return $this->belongsTo(Order::class, 'oid', 'id'); } }