CasperSecurity

Current Path : /var/www/orientalss.com/app/Models/
Upload File :
Current File : /var/www/orientalss.com/app/Models/AssignVehicle.php

<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Laratrust\Traits\LaratrustUserTrait;
use Laravel\Scout\Searchable;

class AssignVehicle extends Model
{
    use HasFactory;
    use Searchable;
    use LaratrustUserTrait;
    protected $guarded = [];
    public function toSearchableArray()
    {
        return [
            'vehicle_id' => $this->vehicle_id,
        ];
    }
    public function getManageVehicle(){
        return $this->belongsTo(ManageVehicle::class,'vehicle_id');
    }
    public function getManageDriver(){
        return $this->belongsTo(ManageDriver::class,'driver_id');
    }
}
Hacker Blog, Shell İndir, Sql İnjection, XSS Attacks, LFI Attacks, Social Hacking, Exploit Bot, Proxy Tools, Web Shell, PHP Shell, Alfa Shell İndir, Hacking Training Set, DDoS Script, Denial Of Service, Botnet, RFI Attacks, Encryption
Telegram @BIBIL_0DAY