<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Offboarding extends Model {protected $guarded=[];protected function casts():array{return ['notice_date'=>'date','last_working_date'=>'date','settled_at'=>'datetime','assets_cleared'=>'boolean','finance_cleared'=>'boolean','access_revoked'=>'boolean'];}public function user(){return $this->belongsTo(User::class);}}