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.
31 lines
929 B
PHP
31 lines
929 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
/** Exact provider object identity for one artifact on one backend. */
|
|
final class CloudStorageReplica extends Model
|
|
{
|
|
protected $connection = 'default';
|
|
protected $table = 'cloud_storage_replicas';
|
|
protected $hidden = [
|
|
'object_key', 'object_version_id', 'object_etag',
|
|
'publish_operation_id', 'delete_operation_id', 'lease_token',
|
|
];
|
|
protected $casts = [
|
|
'id' => 'int',
|
|
'artifact_id' => 'int',
|
|
'backend_id' => 'int',
|
|
'size_bytes' => 'int',
|
|
'delete_generation' => 'int',
|
|
'delete_cycle_attempts' => 'int',
|
|
'delete_presence_confirmations' => 'int',
|
|
'delete_last_checked_at' => 'int',
|
|
'delete_next_check_at' => 'int',
|
|
'delete_attention_at' => 'int',
|
|
'lease_until' => 'int',
|
|
'verified_at' => 'int',
|
|
'created_at' => 'int',
|
|
'updated_at' => 'int',
|
|
];
|
|
}
|