for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Larafolio\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class TextLine extends Model
{
use SoftDeletes;
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'text_lines';
* The attributes that should be mutated to dates.
* @var array
protected $dates = ['deleted_at'];
* The attributes that are mass assignable.
protected $fillable = ['name', 'text', 'order'];
}