Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
conference.php
1<?php
2namespace Bitrix\Im\Model;
3
6
23class ConferenceTable extends Main\Entity\DataManager
24{
25 public static function getTableName(): string
26 {
27 return 'b_im_conference';
28 }
29
30 public static function getMap(): array
31 {
32 return array(
33 new Entity\IntegerField('ID', array(
34 'primary' => true,
35 'autocomplete' => true
36 )),
37 new Entity\IntegerField('ALIAS_ID', array(
38 'required' => true
39 )),
40 new \Bitrix\Main\Entity\CryptoField('PASSWORD', array(
41 'crypto_enabled' => static::cryptoEnabled("PASSWORD"),
42 )),
43 new Entity\TextField('INVITATION'),
44 new Entity\DatetimeField('CONFERENCE_START'),
45 new Entity\DatetimeField('CONFERENCE_END'),
46 new Entity\StringField('IS_BROADCAST', array(
47 'default_value' => 'N'
48 )),
49 new Entity\ReferenceField(
50 'ALIAS',
51 'Bitrix\Im\Model\AliasTable',
52 array('=this.ALIAS_ID' => 'ref.ID')
53 )
54 );
55 }
56}