dbms/app/Services/Device/NetworkService.php
2025-05-07 15:57:41 +09:00

29 lines
690 B
PHP

<?php
namespace App\Services\Device;
use App\Entities\Device\NetworkEntity;
use App\Models\Device\NetworkModel;
use CodeIgniter\HTTP\IncomingRequest;
class NetworkService extends DeviceService
{
protected ?IncomingRequest $request = null;
public function __construct(?IncomingRequest $request = null)
{
parent::__construct($request);
}
public function getClassName(): string
{
return parent::getClassName() . DIRECTORY_SEPARATOR . "Network";
}
public function getModelClass(): NetworkModel
{
return new NetworkModel();
}
public function getEntityClass(): NetworkEntity
{
return new NetworkEntity();
}
}