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