[admin] agent allow&deny

This commit is contained in:
xiaomlove
2022-02-25 18:09:31 +08:00
parent e2f30ecf0c
commit 9edbaf49ca
25 changed files with 1420 additions and 28 deletions
+17
View File
@@ -0,0 +1,17 @@
<?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');
}
}