app/BackgroundImage.php
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class BackgroundImage extends Model
{
/***************************************************************************/
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'background_images';
/***************************************************************************/
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'title', 'image_src', 'credits', 'orientation',
];
}