1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
queuehandledmessagetable.php
См. документацию.
1<?php
2
3namespace Bitrix\Calendar\Internals;
4
5use Bitrix\Main\ArgumentException;
6use Bitrix\Main\Entity\DatetimeField;
7use Bitrix\Main\Entity\IntegerField;
8use Bitrix\Main\Entity\ReferenceField;
9use Bitrix\Main\Entity\StringField;
10use Bitrix\Main\ORM\Data\DataManager;
11use Bitrix\Main\ORM\Fields\ArrayField;
12use Bitrix\Main\ORM\Query\Join;
13use Bitrix\Main\SystemException;
14
32{
36 public static function getTableName()
37 {
38 return 'b_calendar_queue_handled_message';
39 }
40
45 public static function getMap()
46 {
47 return [
48 (new IntegerField('ID'))
49 ->configurePrimary()
50 ->configureAutocomplete()
51 ,
52 (new IntegerField('MESSAGE_ID'))
53 ,
54 (new IntegerField('QUEUE_ID'))
55 ,
56 (new StringField('HASH'))
57 ->configureSize(255)
58 ,
59 (new DatetimeField('DATE_CREATE'))
60 ,
61 (new ReferenceField(
62 'MESSAGE',
63 QueueMessageTable::class,
64 Join::on('this.MESSAGE_ID', 'ref.ID'),
65 )),
66 ];
67 }
68}