mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
This reverts commit 0d201c44c9.
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use LibreNMS\Interfaces\Models\Keyable;
|
||||
|
||||
class PortStack extends DeviceRelatedModel implements Keyable
|
||||
{
|
||||
use HasFactory;
|
||||
protected $table = 'ports_stack';
|
||||
public $timestamps = false;
|
||||
protected $fillable = [
|
||||
'high_ifIndex',
|
||||
'high_port_id',
|
||||
'low_ifIndex',
|
||||
'low_port_id',
|
||||
'ifStackStatus',
|
||||
];
|
||||
|
||||
public function getCompositeKey()
|
||||
{
|
||||
return $this->high_ifIndex . '-' . $this->low_ifIndex;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user