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
682 B
PHP
25 lines
682 B
PHP
<?php
|
|
namespace App\Models;
|
|
final class CloudOrder extends Model
|
|
{
|
|
protected $connection = 'default';
|
|
protected $table = 'cloud_orders';
|
|
protected $casts = [
|
|
'id' => 'int',
|
|
'user_id' => 'int',
|
|
'plan_id' => 'int',
|
|
'offer_id' => 'int',
|
|
'resource_pool_id' => 'int',
|
|
'host_id' => 'int',
|
|
'reservation_id' => 'int',
|
|
'amount' => 'decimal:2',
|
|
'instance_id' => 'int',
|
|
'refunded_at' => 'int',
|
|
'stock_reserved_at' => 'int',
|
|
'stock_released_at' => 'int',
|
|
'created_at' => 'int',
|
|
'updated_at' => 'int',
|
|
];
|
|
protected $hidden = ['request_hash', 'sealed_payload'];
|
|
}
|