<?php

namespace App\Models;

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

class Evangelisation extends Model
{
    /** @use HasFactory<\Database\Factories\EvangelisationFactory> */
    use HasFactory;
    protected $fillable = [
        'nom',
        'postnom',
        'prenom',
        'sexe',
        'age',
        'adresse',
        'telephone',
        'chapelle',
        'facilitateur',
        'date',
        'sujet',
        'status',
        'type_engagement_id',
        'isConverti',
        'isRepentant'
    ];

    public function type_engagement()
    {
        return $this->belongsTo(Type_engagement::class);
    }
}