2020-04-16 09:19:58 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Models;
|
|
|
|
|
2022-09-08 02:29:17 +02:00
|
|
|
use LibreNMS\Interfaces\Models\Keyable;
|
|
|
|
|
|
|
|
class PortAdsl extends PortRelatedModel implements Keyable
|
2020-04-16 09:19:58 -05:00
|
|
|
{
|
|
|
|
protected $table = 'ports_adsl';
|
|
|
|
protected $primaryKey = 'port_id';
|
|
|
|
public $timestamps = false;
|
2022-09-08 02:29:17 +02:00
|
|
|
protected $fillable = [
|
|
|
|
'port_id',
|
|
|
|
'adslLineCoding',
|
|
|
|
'adslLineType',
|
|
|
|
'adslAtucInvVendorID',
|
|
|
|
'adslAtucInvVersionNumber',
|
|
|
|
'adslAtucCurrSnrMgn',
|
|
|
|
'adslAtucCurrAtn',
|
|
|
|
'adslAtucCurrOutputPwr',
|
|
|
|
'adslAtucCurrAttainableRate',
|
|
|
|
'adslAtucChanCurrTxRate',
|
|
|
|
'adslAturInvSerialNumber',
|
|
|
|
'adslAturInvVendorID',
|
|
|
|
'adslAturInvVersionNumber',
|
|
|
|
'adslAturChanCurrTxRate',
|
|
|
|
'adslAturCurrSnrMgn',
|
|
|
|
'adslAturCurrAtn',
|
|
|
|
'adslAturCurrOutputPwr',
|
|
|
|
'adslAturCurrAttainableRate',
|
|
|
|
];
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @inheritDoc
|
|
|
|
*/
|
|
|
|
public function getCompositeKey()
|
|
|
|
{
|
|
|
|
return $this->port_id;
|
|
|
|
}
|
2020-04-16 09:19:58 -05:00
|
|
|
}
|