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
480 B
PHP
23 lines
480 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
final class CloudOffer extends Model
|
|
{
|
|
protected $connection = 'default';
|
|
protected $table = 'cloud_offers';
|
|
|
|
protected $casts = [
|
|
'id' => 'int',
|
|
'plan_id' => 'int',
|
|
'resource_pool_id' => 'int',
|
|
'price' => 'decimal:2',
|
|
'price_version' => 'int',
|
|
'status' => 'boolean',
|
|
'stock' => 'int',
|
|
'sort' => 'int',
|
|
'created_at' => 'int',
|
|
'updated_at' => 'int',
|
|
];
|
|
}
|