- Prepping to begin the firewall module
This commit is contained in:
1 parent
a5f305fb7f
commit
e78ee3a458
4 files changed
+53
-1
No files matched your search
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace Lean\Console\Entity\Firewall;
|
||||
|
||||
use Ulmus\Attribute\Obj\Table;
|
||||
use Ulmus\Attribute\Property\Field;
|
||||
|
||||
#[Table(adapter: "lean.console")]
|
||||
class Connection
|
||||
{
|
||||
#[Field\Id]
|
||||
public string $id;
|
||||
|
||||
#[Field(length: 12)]
|
||||
public string $ipv4;
|
||||
|
||||
#[Field(length: 40)]
|
||||
public string $ipv6;
|
||||
|
||||
#[Field]
|
||||
public int $connectionTry = 0;
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user