<?php

namespace App\Models;

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

class Progression extends Model
{
    use HasFactory; 
    
    protected $fillable = ['id','numero_lecon','chapitre','titre_lecon','numero_semaine','discipline_id'];
   
    public function discioliners(): HasMany 
    { 
        return $this->hasMany(Discioline::class); 
    }
}
