Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
blockuser.php
1<?php
2
3namespace Bitrix\Im\Model;
4
7use Bitrix\Main\ORM\Data\Internal\DeleteByFilterTrait;
8
25class BlockUserTable extends Entity\DataManager
26{
27 use DeleteByFilterTrait;
28
29 public static function getTableName()
30 {
31 return 'b_im_block_user';
32 }
33
34 public static function getMap()
35 {
36 return array(
37 'ID' => array(
38 'data_type' => 'integer',
39 'primary' => true,
40 'autocomplete' => true,
41 //'title' => Loc::getMessage('BLOCK_USER_ENTITY_ID_FIELD'),
42 ),
43 'CHAT_ID' => array(
44 'data_type' => 'integer',
45 'required' => true,
46 //'title' => Loc::getMessage('BLOCK_USER_ENTITY_CHAT_ID_FIELD'),
47 ),
48 'USER_ID' => array(
49 'data_type' => 'integer',
50 'required' => true,
51 //'title' => Loc::getMessage('BLOCK_USER_ENTITY_USER_ID_FIELD'),
52 ),
53 'BLOCK_DATE' => array(
54 'data_type' => 'datetime'
55 ),
56 );
57 }
58}