Current File : //proc/thread-self/root/proc/self/root/home/tradevaly/www/app/Models/Order.php
<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Str;
use Illuminate\Database\Eloquent\SoftDeletes;

class Order extends Model
{
    use HasFactory;
    
    public function user(){
        return $this->belongsTo(User::class, 'buyer_id', 'id');
    }
}