21 lines
451 B
PHP
21 lines
451 B
PHP
<?php
|
|
|
|
namespace App\Services\Admin;
|
|
|
|
use App\Models\Region;
|
|
use App\Filters\Admin\RegionFilter;
|
|
use Slowlyo\OwlAdmin\Services\AdminService;
|
|
|
|
/**
|
|
* @method Region getModel()
|
|
* @method Region|\Illuminate\Database\Query\Builder query()
|
|
*/
|
|
class RegionService extends BaseService
|
|
{
|
|
protected string $modelName = Region::class;
|
|
|
|
protected string $modelFilterName = RegionFilter::class;
|
|
|
|
protected array $withRelationships = ['category'];
|
|
}
|