21 lines
360 B
PHP
21 lines
360 B
PHP
<?php
|
|
|
|
namespace App\Entities\Device;
|
|
|
|
use App\Models\Device\LineModel;
|
|
|
|
class LineEntity extends DeviceEntity
|
|
{
|
|
const PK = LineModel::PK;
|
|
const TITLE = LineModel::TITLE;
|
|
|
|
public function getBandwith()
|
|
{
|
|
return $this->attributes['bandwith'];
|
|
}
|
|
public function getPrice()
|
|
{
|
|
return $this->attributes['price'];
|
|
}
|
|
}
|