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