*/ use HasFactory; public $timestamps = false; public $incrementing = false; protected $keyType = 'string'; /** * @var list */ protected $fillable = [ 'id', 'queue_at', 'started_at', 'finished_at', 'total_processed', 'errors', 'duplicates', 'state', 'file', ]; /** * @return array */ protected function casts(): array { return [ 'id' => 'string', 'queue_at' => 'datetime', 'started_at' => 'datetime', 'finished_at' => 'datetime', 'state' => ContactImportStateEnum::class, ]; } }