46 lines
1003 B
PHP
46 lines
1003 B
PHP
<?php
|
|
|
|
namespace App\Services\Equipment\Link;
|
|
|
|
use App\Entities\Equipment\Link\RamEntity;
|
|
use App\Models\Equipment\Link\RamModel;
|
|
use CodeIgniter\HTTP\IncomingRequest;
|
|
|
|
class RamService extends LinkService
|
|
{
|
|
protected ?IncomingRequest $request = null;
|
|
public function __construct(?IncomingRequest $request = null)
|
|
{
|
|
parent::__construct($request);
|
|
}
|
|
public function getClassName(): string
|
|
{
|
|
return parent::getClassName() . DIRECTORY_SEPARATOR . "Ram";
|
|
}
|
|
public function getModelClass(): RamModel
|
|
{
|
|
return new RamModel();
|
|
}
|
|
public function getEntityClass(): RamEntity
|
|
{
|
|
return new RamEntity();
|
|
}
|
|
|
|
public function getFields(): array
|
|
{
|
|
return [
|
|
"serverinfo_uid",
|
|
"raminfo_uid",
|
|
];
|
|
}
|
|
|
|
public function getFilterFields(): array
|
|
{
|
|
return ["serverinfo_uid", "raminfo_uid"];
|
|
}
|
|
public function getBatchJobFields(): array
|
|
{
|
|
return [];
|
|
}
|
|
}
|