add: full multi-tenancy control
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace Webkul\Automation\Repositories;
|
||||
|
||||
use Webkul\Automation\Contracts\Webhook;
|
||||
use Webkul\Core\Eloquent\Repository;
|
||||
|
||||
class WebhookRepository extends Repository
|
||||
{
|
||||
/**
|
||||
* Specify Model class name.
|
||||
*/
|
||||
public function model(): string
|
||||
{
|
||||
return Webhook::class;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace Webkul\Automation\Repositories;
|
||||
|
||||
use Webkul\Automation\Contracts\Workflow;
|
||||
use Webkul\Core\Eloquent\Repository;
|
||||
|
||||
class WorkflowRepository extends Repository
|
||||
{
|
||||
/**
|
||||
* Specify Model class name.
|
||||
*/
|
||||
public function model(): string
|
||||
{
|
||||
return Workflow::class;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user