<?php namespace App; use Illuminate\Database\Eloquent\Model; class Document extends Model { protected $fillable = [ 'name', 'is_required', 'created_by', ]; }