<?php

namespace App\Events;

use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;

class MoyenneSubMatiereEvent
{
    use Dispatchable, SerializesModels;

    public $student, $moyenne, $rang, $ceoff, $year, $libelle, $matiere, $school;

    public function __construct($student, $moyenne, $rang, $ceoff, $year, $libelle, $matiere, $school)
    {
        $this->student = $student;
        $this->moyenne = $moyenne;
        $this->rang = $rang;
        $this->ceoff = $ceoff;
        $this->year = $year;
        $this->libelle = $libelle;
        $this->matiere = $matiere;
        $this->school = $school;
    }
}
