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.
|
|
|
|
<?php
|
|
|
|
|
namespace App\Models;
|
|
|
|
|
|
|
|
|
|
final class CloudServicePeriod extends Model
|
|
|
|
|
{
|
|
|
|
|
protected $connection = 'default';
|
|
|
|
|
protected $table = 'cloud_service_periods';
|
|
|
|
|
|
|
|
|
|
protected $casts = [
|
|
|
|
|
'id' => 'int',
|
|
|
|
|
'instance_id' => 'int',
|
|
|
|
|
'user_id' => 'int',
|
|
|
|
|
'plan_id' => 'int',
|
|
|
|
|
'order_id' => 'int',
|
|
|
|
|
'renewal_id' => 'int',
|
|
|
|
|
'traffic_pool_group_id' => 'int',
|
|
|
|
|
'starts_at' => 'int',
|
|
|
|
|
'ends_at' => 'int',
|
|
|
|
|
'traffic_quota_bytes' => 'int',
|
|
|
|
|
'download_base_bytes' => 'int',
|
|
|
|
|
'upload_base_bytes' => 'int',
|
|
|
|
|
'download_used_bytes' => 'int',
|
|
|
|
|
'upload_used_bytes' => 'int',
|
|
|
|
|
'activated_at' => 'int',
|
|
|
|
|
'created_at' => 'int',
|
|
|
|
|
'updated_at' => 'int',
|
|
|
|
|
];
|
|
|
|
|
}
|