19 lines
363 B
Plaintext
19 lines
363 B
Plaintext
<?php
|
|
|
|
namespace $NAMESPACE$;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
|
|
class $CLASS$ extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $fillable = $FILLABLE$;
|
|
|
|
protected static function newFactory()
|
|
{
|
|
return \$MODULE_NAMESPACE$\$MODULE$\Database\factories\$NAME$Factory::new();
|
|
}
|
|
}
|