<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Devoir extends Model
{
    protected $guarded = [];

    public function matter(){
        return $this->belongsTo(Matter::class);
    }

    public function classe(){
        return $this->belongsTo(Classe::class);
    }
}
