CasperSecurity

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

<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Laratrust\Traits\LaratrustUserTrait;
use Laravel\Scout\Searchable;
use App\Models\ClientCategory;


class  Client extends Model
{
    use LaratrustUserTrait;
    use HasFactory,SoftDeletes,Searchable;
    public $guarded = [];

    public function toSearchableArray()
    {
        return [
            'client_name' => $this->client_name,
            'contact_mail' => $this->contact_mail,
            'contact_mobile' => $this->contact_mobile,
            'pan_no' => $this->pan_no,
        ];
    }
    public function getClientCategory()
    {
        return $this->belongsTo(ClientCategory::class,'client_category_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