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.
23 lines
605 B
PHP
23 lines
605 B
PHP
<?php
|
|
namespace App\Models;
|
|
|
|
final class CloudInstanceFirewall extends Model
|
|
{
|
|
protected $connection = 'default';
|
|
protected $table = 'cloud_instance_firewalls';
|
|
protected $primaryKey = 'instance_id';
|
|
public $incrementing = false;
|
|
protected $casts = [
|
|
'instance_id' => 'int',
|
|
'user_id' => 'int',
|
|
'host_id' => 'int',
|
|
'enabled' => 'bool',
|
|
'desired_revision' => 'int',
|
|
'applied_revision' => 'int',
|
|
'last_success_at' => 'int',
|
|
'last_failure_at' => 'int',
|
|
'created_at' => 'int',
|
|
'updated_at' => 'int',
|
|
];
|
|
}
|