403Webshell
Server IP : 46.62.235.243  /  Your IP : 216.73.216.217
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux Linkabili3Dicembre 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/linkabili/app/Models/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/linkabili/app/Models/UserDetail.php
<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class UserDetail extends Model {

    use SoftDeletes;

    public $table = 'user_details';
    protected $guarded = [];
    static public $rules = [];
    static public $messages = [];

    public function days() {
        return $this->belongsToMany('App\Models\Day', 'user_detail_day', 'user_detail_id', 'day_id');
    }

    public function contracts() {
        return $this->belongsToMany('App\Models\Contract', 'user_detail_contract', 'user_detail_id', 'contract_id');
    }

    public function turni() {
        return $this->belongsToMany('App\Models\Turno', 'user_detail_turno', 'user_detail_id', 'turno_id');
    }

    public function fasce_eta() {
        return $this->belongsToMany('App\Models\FasciaEta', 'user_detail_fascia_eta', 'user_detail_id', 'fascia_eta_id');
    }

    public function state() {
        return $this->belongsTo('App\Models\State');
    }

    public function citta() {
        return $this->belongsTo('App\Models\City', 'city_id');
    }

    public function citta_ufficio() {
        return $this->belongsTo('App\Models\City', 'city_office_id');
    }

    public function user() {
        return $this->belongsTo('App\User', 'user_id');

    }

    public function medicalcenter() {
        return $this->belongsTo('App\Models\MedicalCenter', 'medical_center_id');
    }

}

Youez - 2016 - github.com/yon3zu
LinuXploit