mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 20:37:29 -05: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$';
 | 
						|
    }
 | 
						|
 | 
						|
}
 |