updated module compatibility
This commit is contained in:
@ -3,8 +3,21 @@
|
||||
namespace $NAMESPACE$;
|
||||
|
||||
use App\Abstracts\Model;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
|
||||
class $CLASS$ extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $fillable = $FILLABLE$;
|
||||
|
||||
/**
|
||||
* Create a new factory instance for the model.
|
||||
*
|
||||
* @return \Illuminate\Database\Eloquent\Factories\Factory
|
||||
*/
|
||||
protected static function newFactory()
|
||||
{
|
||||
return \$FACTORY_NAMESPACE$\$NAME$::new();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user