<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class InternCertificate extends Model {protected $guarded=[];protected function casts():array{return ['issued_on'=>'date'];}public function intern(){return $this->belongsTo(Intern::class);}}