<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 Attribution extends Model
{
    use HasFactory;


    protected $table = 'attributions';
    protected $primaryKey = 'att_id';

    public $timestamps      = false;

    protected $fillable = [
        'occupant_id',
        'camp_id',
        'local_id',
        'date_entree',
        'sous_couvert',
        'sc_name',
        'sc_etat',
        'sc_phone',
        'date_fin_contract',
        'ad_id',
        'ref',
        'att_date',
    ];

    public function occupant()
    {
        return $this->belongsTo(Occupant::class, 'occupant_id', 'occupant_id');
    }
    public function