Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
botchat.php
1<?php
2namespace Bitrix\Im\Model;
3
5
32class BotChatTable extends Main\Entity\DataManager
33{
39 public static function getTableName()
40 {
41 return 'b_im_bot_chat';
42 }
43
49 public static function getMap()
50 {
51 return array(
52 'ID' => array(
53 'data_type' => 'integer',
54 'primary' => true,
55 'autocomplete' => true,
56 //'title' => Loc::getMessage('BOT_CHAT_ENTITY_ID_FIELD'),
57 ),
58 'BOT_ID' => array(
59 'data_type' => 'integer',
60 'required' => true,
61 //'title' => Loc::getMessage('BOT_CHAT_ENTITY_BOT_ID_FIELD'),
62 ),
63 'CHAT_ID' => array(
64 'data_type' => 'integer',
65 'required' => true,
66 //'title' => Loc::getMessage('BOT_CHAT_ENTITY_CHAT_ID_FIELD'),
67 ),
68 );
69 }
70}