36 lines
854 B
PHP
36 lines
854 B
PHP
<?php
|
|
|
|
namespace App\Services\Equipment\Link;
|
|
|
|
use CodeIgniter\HTTP\IncomingRequest;
|
|
|
|
use App\Entities\Equipment\Link\RamEntity;
|
|
use App\Models\Equipment\Link\RamModel;
|
|
use App\Services\Equipment\Part\RamService as AdapterService;
|
|
|
|
class RamService extends LinkService
|
|
{
|
|
protected ?IncomingRequest $request = null;
|
|
public function __construct(?IncomingRequest $request = null)
|
|
{
|
|
parent::__construct($request);
|
|
$this->addClassName('Ram');
|
|
}
|
|
public function getModelClass(): RamModel
|
|
{
|
|
return new RamModel();
|
|
}
|
|
public function getEntityClass(): RamEntity
|
|
{
|
|
return new RamEntity();
|
|
}
|
|
protected function getAdapterService(): AdapterService
|
|
{
|
|
return new AdapterService();
|
|
}
|
|
protected function getAdapterField(): string
|
|
{
|
|
return "raminfo_uid";
|
|
}
|
|
}
|