<br />
<b>Warning</b>:  Undefined variable $auth in <b>/home/pevo0181/public_html/pia-soft.com/cleania/routes/index.php</b> on line <b>542</b><br />
<br />
<b>Warning</b>:  Trying to access array offset on value of type null in <b>/home/pevo0181/public_html/pia-soft.com/cleania/routes/index.php</b> on line <b>542</b><br />
<?php

namespace App\Models;

use Illuminate\Database\Capsule\Manager;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Antenna extends Model
{
    use HasFactory;

    protected $table        = 'antennes';

    protected $primaryKey   = 'ant_id';

    public $timestamps      = false;

    protected $fillable = [
        'reg_id',
        'dep_id',
        'arr_id',
        'ant_adresse',
        'ant_pause_debut',
        'ant_pause_fin',
        'ant_name',
    ];

    public function region()
    {
        return $this->belongsTo(Region::class, 'reg_id', 'reg_id');
    }
    public function department()
    {
        return $this->belongsTo(Department::class, 'dep_id', 'dep_id');
    }
    public functio