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.
29 lines
774 B
PHP
29 lines
774 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
/** Immutable proof that automatic backup was paid for one service period. */
|
|
final class CloudBackupPeriodEntitlement extends Model
|
|
{
|
|
protected $connection = 'default';
|
|
protected $table = 'cloud_backup_period_entitlements';
|
|
|
|
protected $casts = [
|
|
'id' => 'int',
|
|
'subscription_id' => 'int',
|
|
'service_period_id' => 'int',
|
|
'instance_id' => 'int',
|
|
'user_id' => 'int',
|
|
'offer_id' => 'int',
|
|
'invoice_id' => 'int',
|
|
'starts_at' => 'int',
|
|
'ends_at' => 'int',
|
|
'full_period_price' => 'decimal:2',
|
|
'amount' => 'decimal:2',
|
|
'price_version' => 'int',
|
|
'paid_at' => 'int',
|
|
'created_at' => 'int',
|
|
'updated_at' => 'int',
|
|
];
|
|
}
|