Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
zoommeetingrecording.php
1
<?php
2
namespace
Bitrix\Socialservices
;
3
4
use
Bitrix\Main
,
5
Bitrix\Main\ORM\Fields
;
6
37
class
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
95
new
Fields\Relations\Reference
(
96
'MEETING'
,
97
ZoomMeetingTable::class,
98
[
'=this.MEETING_ID'
=>
'ref.ID'
],
99
[
'join_type'
=>
'LEFT'
]
100
),
101
102
];
103
}
104
}
Bitrix\Main\ORM\Fields\Relations\Reference
Definition
reference.php:26
Bitrix\Socialservices\ZoomMeetingRecordingTable
Definition
zoommeetingrecording.php:38
Bitrix\Socialservices\ZoomMeetingRecordingTable\getMap
static getMap()
Definition
zoommeetingrecording.php:55
Bitrix\Socialservices\ZoomMeetingRecordingTable\getTableName
static getTableName()
Definition
zoommeetingrecording.php:44
Bitrix\Main\ORM\Fields
Definition
arrayfield.php:9
Bitrix\Main
Bitrix\Socialservices
Definition
ap.php:2
modules
socialservices
lib
zoommeetingrecording.php
Создано системой
1.10.0