Files

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

19 lines
360 B
PHP
Raw Permalink Normal View History

2019-01-20 08:43:36 -06:00
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
2019-01-22 17:04:28 -06:00
class Ipv4Mac extends PortRelatedModel
2019-01-20 08:43:36 -06:00
{
protected $table = 'ipv4_mac';
public $timestamps = false;
2019-01-22 17:04:28 -06:00
// ---- Define Relationships ----
public function device(): BelongsTo
2019-01-22 17:04:28 -06:00
{
return $this->belongsTo(\App\Models\Device::class, 'device_id');
2019-01-22 17:04:28 -06:00
}
2019-01-20 08:43:36 -06:00
}