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/CloudConsoleTicket.php

24 lines
627 B
PHTML

<?php
namespace App\Models;
final class CloudConsoleTicket extends Model
{
protected $connection = 'default';
protected $table = 'cloud_console_tickets';
protected $primaryKey = 'ticket_hash';
public $incrementing = false;
protected $keyType = 'string';
protected $hidden = ['sealed_agent_ticket'];
protected $casts = [
'user_id' => 'int',
'instance_id' => 'int',
'host_id' => 'int',
'agent_expires_at' => 'int',
'ticket_expires_at' => 'int',
'connection_expires_at' => 'int',
'consumed_at' => 'int',
'created_at' => 'int',
];
}