refactor: Replace specific Hosting and VPS models and repositories with a generic Service repository and associated customer API endpoints.

This commit is contained in:
pbao9
2026-03-13 07:50:35 +07:00
parent dbd3cdafcd
commit a388eabe17
12 changed files with 82 additions and 347 deletions
@@ -0,0 +1,12 @@
<?php
namespace App\Repositories\Service;
use App\Repositories\BaseRepositoryInterface;
interface ServiceRepositoryInterface extends BaseRepositoryInterface
{
public function filter(array $data = [], array $relationships = [], array $withCount = [], array $select = ['*']);
public function findWithRelationships(int $id = 0, array $relationships = [], array $withCount = [], array $withSum = []);
}