<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Shift extends Model {protected $guarded=[]; protected function casts():array{return ['weekly_off_days'=>'array','is_active'=>'boolean'];}}