update ippool

This commit is contained in:
baodev0
2026-08-06 11:13:42 +07:00
parent 520f21cb11
commit a5e342f0f5
6 changed files with 271 additions and 1 deletions
+31
View File
@@ -12,8 +12,39 @@ class IpPool extends Model
use HasFactory, SoftDeletes, LogsActivity;
protected $fillable = [
'uuid',
'ip_address',
'module_network_id',
'gateway',
'cidr',
'netmask',
'status',
'owner_type',
'ip_role',
'parent_ip',
'customer_name',
'service_name',
'allocated_at',
'revoked_at',
'allocation_status',
'contact_email',
'contact_cc',
'contact_phone',
'monthly_cost',
'selling_price',
'additional_info',
'last_email_type',
'last_email_at',
'updated_by',
'note',
];
protected $casts = [
'allocated_at' => 'date',
'revoked_at' => 'date',
'last_email_at' => 'datetime',
'monthly_cost' => 'decimal:2',
'selling_price' => 'decimal:2',
];
public function network()