<?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'];
    }
}
