/
mikopbx
/
ModuleBitrix24Integration
Обзор
Документация
Войти
/
mikopbx
/
ModuleBitrix24Integration
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
v1.274
Models/ModuleBitrix24CDR.php
88 строк
2 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, 8 2019 */ namespace Modules\ModuleBitrix24Integration\Models; use MikoPBX\Modules\Models\ModulesModelsBase; /** * Class ModuleCdrTextData * * @package Modules\ModuleCdrTextData\Models * @Indexes( * [name='call_id', columns=['call_id'], type=''], * [name='uniq_id', columns=['uniq_id'], type=''], * [name='linkedid', columns=['linkedid'], type=''] * ) */ class ModuleBitrix24CDR extends ModulesModelsBase { /** * @Primary * @Identity * @Column(type="integer", nullable=false) */ public $id; /** * * @Column(type="string", nullable=true) */ public $call_id; /** * * @Column(type="string", nullable=true) */ public $uniq_id; /** * * @Column(type="string", nullable=true) */ public $linkedid; /** * * @Column(type="string", nullable=true) */ public $answer; /** * Link to USERS * * @Column(type="integer", nullable=true) */ public $user_id; /** * * @Column(type="string", nullable=true) */ public $lead_id; /** * * @Column(type="string", nullable=true) */ public $contactId; /** * * @Column(type="string", nullable=true) */ public $dealId; public function initialize(): void { $this->setSource('b24_cdr_data'); parent::initialize(); $this->useDynamicUpdate(true); } }