<?php

namespace App\Entities\Equipment;

use App\Models\Equipment\ServerModel;

class ServerEntity extends EquipmentEntity
{
    const PK    = ServerModel::PK;
    const TITLE = ServerModel::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'];
    }
}
