Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
messageuuid.php
1
<?php
2
namespace
Bitrix\Im\Model
;
3
4
use
Bitrix\Main
;
5
use
Bitrix\Main\ORM\Fields\StringField
;
6
use
Bitrix\Main\ORM\Fields\DatetimeField
;
7
use
Bitrix\Main\ORM\Fields\IntegerField
;
8
9
16
class
MessageUuidTable
extends
Main\Entity\DataManager
17
{
23
public
static
function
getTableName
(): string
24
{
25
return
'b_im_message_uuid'
;
26
}
27
34
public
static
function
getMap
(): array
35
{
36
return
[
37
new
StringField
(
38
'UUID'
,
39
[
40
'primary'
=>
true
,
41
'required'
=>
true
,
42
'size'
=> 36
43
]
44
),
45
new
IntegerField
(
'MESSAGE_ID'
),
46
new
DatetimeField
(
47
'DATE_CREATE'
,
48
[
49
'required'
=>
true
,
50
]
51
),
52
];
53
}
54
}
Bitrix\Im\Model\MessageUuidTable
Definition
messageuuid.php:17
Bitrix\Im\Model\MessageUuidTable\getMap
static getMap()
Definition
messageuuid.php:34
Bitrix\Im\Model\MessageUuidTable\getTableName
static getTableName()
Definition
messageuuid.php:23
Bitrix\Main\ORM\Fields\DatetimeField
Definition
datetimefield.php:22
Bitrix\Main\ORM\Fields\IntegerField
Definition
integerfield.php:20
Bitrix\Main\ORM\Fields\StringField
Definition
stringfield.php:20
Bitrix\Im\Model
Definition
alias.php:2
Bitrix\Main
modules
im
lib
model
messageuuid.php
Создано системой
1.10.0