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.
25 lines
642 B
PHP
25 lines
642 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
final class CloudHostCapacityPolicy extends Model
|
|
{
|
|
protected $connection = 'default';
|
|
protected $table = 'cloud_host_capacity_policies';
|
|
protected $primaryKey = 'host_id';
|
|
public $incrementing = false;
|
|
|
|
protected $casts = [
|
|
'host_id' => 'int',
|
|
'configured_cpu_cores' => 'int',
|
|
'configured_memory_mib' => 'int',
|
|
'configured_disk_gib' => 'int',
|
|
'safety_cpu_cores' => 'int',
|
|
'safety_memory_mib' => 'int',
|
|
'safety_disk_gib' => 'int',
|
|
'max_instances' => 'int',
|
|
'created_at' => 'int',
|
|
'updated_at' => 'int',
|
|
];
|
|
}
|