Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
zoommeetingrecording.php
1<?php
3
6
37class ZoomMeetingRecordingTable extends Main\Entity\DataManager
38{
44 public static function getTableName(): string
45 {
46 return 'b_socialservices_zoom_meeting_recording';
47 }
48
55 public static function getMap(): array
56 {
57 return [
58 new Fields\IntegerField('ID', [
59 'primary' => true,
60 'autocomplete' => true
61 ]),
62 new Fields\StringField('EXTERNAL_ID', [
63 'required' => true,
64 'size' => 64
65 ]),
66 new Fields\IntegerField('MEETING_ID', [
67 'required' => true
68 ]),
69 new Fields\DatetimeField('START_DATE', [
70 'required' => true
71 ]),
72 new Fields\DatetimeField('END_DATE', [
73 'required' => true
74 ]),
75
76 new Fields\StringField('FILE_TYPE'),
77 new Fields\IntegerField('FILE_SIZE'),
78 new Fields\StringField('PLAY_URL', [
79 'size' => 500,
80 ]),
81 new Fields\StringField('DOWNLOAD_URL', [
82 'size' => 500,
83 ]),
84 new Fields\StringField('RECORDING_TYPE', [
85 'size' => 64,
86 ]),
87 new Fields\CryptoField('DOWNLOAD_TOKEN', [
88 'crypto_enabled' => static::cryptoEnabled('DOWNLOAD_TOKEN'),
89 ]),
90 new Fields\CryptoField('PASSWORD', [
91 'crypto_enabled' => static::cryptoEnabled('PASSWORD'),
92 ]),
93 new Fields\IntegerField('FILE_ID'),
94
96 'MEETING',
97 ZoomMeetingTable::class,
98 ['=this.MEETING_ID' => 'ref.ID'],
99 ['join_type' => 'LEFT']
100 ),
101
102 ];
103 }
104}