<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Assessment extends Model {
    protected $fillable=['training_class_id','title','type','assessment_date','max_score','pass_score','status','note'];
    public function trainingClass(){ return $this->belongsTo(TrainingClass::class); }
    public function results(){ return $this->hasMany(AssessmentResult::class); }
}
