<?php

namespace App\Entities\Equipment;

use App\Models\Equipment\SwitchModel;

class SwitchEntity extends EquipmentEntity
{
    const PK    = SwitchModel::PK;
    const TITLE = SwitchModel::TITLE;
    const STATUS_AVAILABLE = "available";
    const STATUS_OCCUPIED = "occupied";
    const STATUS_FORBIDDEN = "forbidden";
    const DEFAULT_STATUS    = self::STATUS_AVAILABLE;

    public function getCode(): string
    {
        return $this->attributes['code'];
    }
}
