This commit is contained in:
pbao9
2025-07-29 17:31:45 +07:00
parent d80580d1e4
commit b048edee11
15 changed files with 382 additions and 16 deletions
+21
View File
@@ -0,0 +1,21 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class IpPool extends Model
{
use HasFactory;
protected $fillable = [
'ip_address',
'module_network_id',
];
public function network()
{
return $this->belongsTo(ModuleNetwork::class, 'module_network_id', 'id');
}
}