mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-15 05:00:49 +08:00
18 lines
372 B
PHP
18 lines
372 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace App\Models;
|
||
|
|
|
||
|
|
class AgentDeny extends NexusModel
|
||
|
|
{
|
||
|
|
protected $table = 'agent_allowed_exception';
|
||
|
|
|
||
|
|
protected $fillable = [
|
||
|
|
'family_id', 'name', 'peer_id', 'agent', 'comment'
|
||
|
|
];
|
||
|
|
|
||
|
|
public function family(): \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||
|
|
{
|
||
|
|
return $this->belongsTo(AgentAllow::class, 'family_id');
|
||
|
|
}
|
||
|
|
}
|