18 lines
344 B
PHP
18 lines
344 B
PHP
<?php
|
|
|
|
namespace App\Entities\Equipment;
|
|
|
|
use App\Models\Equipment\SwitchModel;
|
|
|
|
class SwitchEntity extends EquipmentEntity
|
|
{
|
|
const PK = SwitchModel::PK;
|
|
const TITLE = SwitchModel::TITLE;
|
|
const DEFAULT_STATUS = STATUS['AVAIABLE'];
|
|
|
|
public function getCode(): string
|
|
{
|
|
return $this->attributes['code'];
|
|
}
|
|
}
|