- Prepping to begin the firewall module

This commit is contained in:
mcndave committed 2023-11-17 22:33:23 -05:00
1 parent a5f305fb7f
commit e78ee3a458
4 files changed
+53 -1

No files matched your search

+24
View File
@@ -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;
}