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.
28 lines
760 B
PHP
28 lines
760 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
/** One paid automatic-backup policy bound to one business instance. */
|
|
final class CloudBackupSubscription extends Model
|
|
{
|
|
protected $connection = 'default';
|
|
protected $table = 'cloud_backup_subscriptions';
|
|
protected $casts = [
|
|
'id' => 'int',
|
|
'instance_id' => 'int',
|
|
'user_id' => 'int',
|
|
'offer_id' => 'int',
|
|
'enabled' => 'bool',
|
|
'renew_next_period' => 'bool',
|
|
'weekday' => 'int',
|
|
'retention_count' => 'int',
|
|
'price_version' => 'int',
|
|
'state_revision' => 'int',
|
|
'next_run_at' => 'int',
|
|
'last_scheduled_at' => 'int',
|
|
'last_backup_id' => 'int',
|
|
'created_at' => 'int',
|
|
'updated_at' => 'int',
|
|
];
|
|
}
|