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.
virt/web/app/Models/CloudBackupPeriodEntitlemen...

32 lines
856 B
PHP

<?php
namespace App\Models;
/**
* Proof that automatic backup was paid for one service period. Commercial
* fields are immutable; an audited service compensation may extend its end.
*/
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',
];
}