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