Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
956 B
PHP
Raw Permalink Normal View History

2020-04-16 09:19:58 -05:00
<?php
namespace App\Models;
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;
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
}