<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class AttendanceRegularization extends Model { protected $fillable=['user_id','attendance_record_id','requested_check_in','requested_check_out','reason','status','reviewed_by','reviewed_at','review_notes']; protected function casts():array{return ['requested_check_in'=>'datetime','requested_check_out'=>'datetime','reviewed_at'=>'datetime'];} }