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