23 lines
469 B
PHP
23 lines
469 B
PHP
<?php
|
|
|
|
namespace App\Entities\Equipment\Link;
|
|
|
|
|
|
use App\Entities\Equipment\EquipmentEntity;
|
|
|
|
abstract class LinkEntity extends EquipmentEntity
|
|
{
|
|
public function __construct(array|null $data = null)
|
|
{
|
|
parent::__construct($data);
|
|
}
|
|
public function getServerInfoUID(): string
|
|
{
|
|
return $this->attributes['serverinfo_uid'];
|
|
}
|
|
public function getPartInfoUID(): string
|
|
{
|
|
return $this->attributes['cpuinfo_uid'];
|
|
}
|
|
}
|