dbmsv2/app/Entities/Equipment/ServerEntity.php
2025-08-19 15:07:14 +09:00

20 lines
418 B
PHP

<?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";
public function getCode(): string
{
return $this->attributes['code'];
}
}