/
mikopbx
/
ModuleRemoteSupport
Обзор
Документация
Войти
/
mikopbx
/
ModuleRemoteSupport
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
v1.1
Models/RemoteSupportSession.php
79 строк
2 KB
Nikolai Beketov
feat: add engineer web admin access via Warpgate (lobby v2)
25 июл 2026, 09:25
25 июл 2026, 09:25
16c0fc0
Код
Авторство
О чём код?
<?php declare(strict_types=1); namespace Modules\ModuleRemoteSupport\Models; use MikoPBX\Modules\Models\ModulesModelsBase; final class RemoteSupportSession extends ModulesModelsBase { /** * @var int * @Primary * @Identity * @Column(type="integer", nullable=false) */ public $id = 1; /** * @Column(type="string", nullable=false) */ public ?string $status = 'off'; /** * @Column(type="string", nullable=true) */ public ?string $session_id = ''; /** * @Column(type="string", nullable=true) */ public ?string $code = ''; /** * @Column(type="integer", nullable=true) */ public ?string $slot = ''; /** * @Column(type="integer", nullable=true) */ public ?string $tunnel_port = ''; /** * @Column(type="integer", nullable=true) */ public ?string $started_at = ''; /** * @Column(type="integer", nullable=true) */ public ?string $expires_at = ''; /** * @Column(type="string", nullable=true) */ public ?string $error_code = ''; /** * @Column(type="string", nullable=true) */ public ?string $web_login = ''; /** * @Column(type="string", nullable=true) */ public ?string $web_password_hash = ''; /** * @Column(type="integer", nullable=false) */ public ?string $updated_at = '0'; public function initialize(): void { $this->setSource('m_RemoteSupportSession'); parent::initialize(); } }