invoiceninja/app/Console/Commands/stubs/model.stub

23 lines
416 B
Text
Raw Normal View History

2016-12-08 15:41:35 +02:00
<?php
namespace $NAMESPACE$;
use App\Models\EntityModel;
use Laracasts\Presenter\PresentableTrait;
use Illuminate\Database\Eloquent\SoftDeletes;
class $CLASS$ extends EntityModel
{
use PresentableTrait;
use SoftDeletes;
/**
* @var string
*/
protected $presenter = 'App\Ninja\Presenters\$CLASS$Presenter';
protected $fillable = $FILLABLE$;
2016-12-08 21:37:07 +02:00
protected $table = '$LOWER_NAME$';
2016-12-08 15:41:35 +02:00
}