Current File : /home/tradevaly/public_html/app/Models/AdvertiserOrder.php
<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
 
class AdvertiserOrder extends Model
{
   public function user(){
        return $this->belongsTo(User::class);
    }
   public function banner(){
        return $this->belongsTo(Banner::class);
    }
   public function transaction(){
        return $this->belongsTo(Transaction::class,'order_id','order_id');
    }
}