<?php

namespace App\Models;

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

class Rapport_activite extends Model
{
    /** @use HasFactory<\Database\Factories\RapportActiviteFactory> */
    use HasFactory;
    protected $fillable = [
        'date',
        'sujet',
        'description',
        'homme',
        'femme',
        'enfant',
        'invite',
        'intervenant',
        'moderateur',
        'chantre',
        'offrande',
        'status',
        'type_activite_id',
        'responsable_service_id',
    ];

    public function type_activite()
    {
        return $this->belongsTo(Type_activite::class);
    }
    public function responsable_service()
    {
        return $this->belongsTo(Responsable_service::class);
    }
}