<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\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Camp extends Model
{
    use HasFactory;

    protected $table = 'camps';
    protected $primaryKey = 'camp_id';

    public $timestamps      = false;

    protected $fillable = [
        'camp_name',
        'reg_id',
        'dep_id',
        'arr_id',
        'zone_id',
        'camp_adresse',
        'camp_lat',
        'camp_lng',
        'resp_name',
        'resp_phone',
        'camp_date',
    ];

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