This commit is contained in:
baodev0
2026-08-06 11:18:39 +07:00
6 changed files with 228 additions and 0 deletions
+32
View File
@@ -13,12 +13,44 @@ class IpPool extends Model
use HasFactory, SoftDeletes, LogsActivity;
protected $fillable = [
'uuid',
'uuid',
'ip_address',
'gateway',
'cidr',
'netmask',
'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',
];
'status',
'service_id',
];