You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
701 B
PHP
29 lines
701 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
final class CloudResourceReservationIp extends Model
|
|
{
|
|
protected $connection = 'default';
|
|
protected $table = 'cloud_resource_reservation_ips';
|
|
|
|
protected $casts = [
|
|
'id' => 'int',
|
|
'reservation_id' => 'int',
|
|
'address_family' => 'int',
|
|
'claim_generation' => 'int',
|
|
'active_claim' => 'int',
|
|
'network_attachment_id' => 'int',
|
|
'public_ip_pool_id' => 'int',
|
|
'public_ip_id' => 'int',
|
|
'released_at' => 'int',
|
|
'created_at' => 'int',
|
|
'updated_at' => 'int',
|
|
];
|
|
|
|
public function publicIp()
|
|
{
|
|
return $this->belongsTo(CloudPublicIp::class, 'public_ip_id');
|
|
}
|
|
}
|