20 lines
460 B
PHP
20 lines
460 B
PHP
<?php
|
|
|
|
namespace App\Entities\Equipment;
|
|
|
|
use App\Models\Equipment\LineModel;
|
|
|
|
class LineEntity extends EquipmentEntity
|
|
{
|
|
const PK = LineModel::PK;
|
|
const TITLE = LineModel::TITLE;
|
|
const STATUS_AVAILABLE = "available";
|
|
const STATUS_OCCUPIED = "occupied";
|
|
const STATUS_FORBIDDEN = "forbidden";
|
|
const DEFAULT_STATUS = self::STATUS_AVAILABLE;
|
|
public function getBandwith()
|
|
{
|
|
return $this->attributes['bandwith'];
|
|
}
|
|
}
|