<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class TaskStatusHistory extends Model { public $timestamps=false; protected $fillable=['task_id','from_status','to_status','changed_by','changed_at','note']; protected function casts():array{return ['changed_at'=>'datetime'];} }