Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
norelationpermissiondisk.php
1<?php
2namespace Bitrix\Im\Model;
3
4use \Bitrix\Main\Type\DateTime,
5 \Bitrix\Main\Entity\DataManager,
6 \Bitrix\Main\Entity\IntegerField,
7 \Bitrix\Main\Entity\DatetimeField;
8
36{
42 public static function getTableName()
43 {
44 return 'b_im_no_relation_permission_disk';
45 }
46
52 public static function getMap()
53 {
54 return array(
55 new IntegerField('ID', array(
56 'primary' => true,
57 'autocomplete' => true,
58 //'title' => Loc::getMessage('NO_RELATION_PERMISSION_DISK_ENTITY_ID_FIELD'),
59 )),
60 new IntegerField('CHAT_ID', array(
61 'required' => true,
62 //'title' => Loc::getMessage('NO_RELATION_PERMISSION_DISK_ENTITY_CHAT_ID_FIELD'),
63 )),
64 new IntegerField('USER_ID', array(
65 'required' => true,
66 //'title' => Loc::getMessage('NO_RELATION_PERMISSION_DISK_ENTITY_USER_ID_FIELD'),
67 )),
68 new DatetimeField('ACTIVE_TO', array(
69 'required' => true,
70 'default_value' => new DateTime,
71 //'title' => Loc::getMessage('NO_RELATION_PERMISSION_DISK_ENTITY_ACTIVE_TO_FIELD'),
72 )),
73 );
74 }
75}