mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
35 lines
573 B
Plaintext
Executable File
35 lines
573 B
Plaintext
Executable File
<?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 = 'Modules\$CLASS$\Presenters\$CLASS$Presenter';
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
protected $fillable = $FILLABLE$;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
protected $table = '$LOWER_NAME$';
|
|
|
|
public function getEntityType()
|
|
{
|
|
return '$LOWER_NAME$';
|
|
}
|
|
|
|
}
|