/
mikopbx
/
ModuleBitrix24Integration
Обзор
Документация
Войти
/
mikopbx
/
ModuleBitrix24Integration
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
v1.274
Models/ModuleBitrix24ExternalLines.php
55 строк
1 KB
Nikolay Beketov
Update for PHP 8.3
30 сен 2024, 11:53
30 сен 2024, 11:53
fa684fe
Код
Авторство
О чём код?
<?php /** * Copyright © MIKO LLC - All Rights Reserved * Unauthorized copying of this file, via any medium is strictly prohibited * Proprietary and confidential * Written by Alexey Portnov, 5 2020 */ namespace Modules\ModuleBitrix24Integration\Models; use MikoPBX\Modules\Models\ModulesModelsBase; class ModuleBitrix24ExternalLines extends ModulesModelsBase { /** * @Primary * @Identity * @Column(type="integer", nullable=false) */ public $id; /** * Номер телефона внешней линии. Пример 79117654321. * * @Column(type="string", nullable=true) */ public $number; /** * Имя внешней линии, представление пользователю портала. Необязательный. * * @Column(type="string", nullable=true) */ public $name; /** * Псевдонимы (DID) для этого номера. * * @Column(type="string", nullable=true) */ public $alias; /** * статус фильтрации, если 1 то выключить передачу данных в Bitrix24 * * @Column(type="integer", default="0", nullable=true) */ public $disabled = 0; public function initialize() :void{ $this->setSource('m_ModuleBitrix24ExternalLines'); parent::initialize(); } }