<?php

namespace App\Entities\Equipment;

use App\Models\Equipment\IPModel;

class IPEntity extends EquipmentEntity
{
    const PK = IPModel::PK;
    const TITLE = IPModel::TITLE;
    const STATUS_AVAILABLE = "available";
    const STATUS_OCCUPIED = "occupied";
    const STATUS_FORBIDDEN = "forbidden";
    const DEFAULT_STATUS    = self::STATUS_AVAILABLE;
    public function getIP(): string
    {
        return $this->attributes['ip'];
    }
}
