CasperSecurity

Current Path : /var/www/orientalss.com/app/Models/
Upload File :
Current File : /var/www/orientalss.com/app/Models/AssignTenderDocument.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\Client;
use App\Models\TenderDocument;

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

    public function toSearchableArray()
    {
        // return [
        //     'tender_no'=>$this->tender_no,
        // ];
    }
    public function getTenderDocument()
    {
        return $this->belongsTo(TenderDocument::class,'tender_document_id');
    }

    public function getCreateTender()
    {
        return $this->belongsTo(CreateTender::class,'tender_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