<?php // this Code is Cracked by dharunMods-YouTube-Channel namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Agent extends Model { use HasFactory; public function duser(){ return $this->belongsTo('App\Models\User', 'agent'); } }