Files
nexusphp/app/Models/AgentDeny.php
2022-02-25 18:09:31 +08:00

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');
}
}