<?php

namespace App\Models;

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

class Dece extends Model
{
    /** @use HasFactory<\Database\Factories\DeceFactory> */
    use HasFactory;
    protected $fillable = [
        'personne_id',
        'lieu',
        'date',
        'observation',
    ];


    public function personne()
    {
        return $this->belongsTo(Personne::class);
    }
}
