<?php namespace App\Models; use App\Models\Concerns\BelongsToSchool; use Illuminate\Database\Eloquent\Model; class Exam extends Model { use BelongsToSchool; protected $guarded = []; protected function casts(): array { return ['starts_at'=>'datetime','ends_at'=>'datetime','settings'=>'array']; } }
