Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
queuehandledmessagetable.php
1<?php
2
4
6use Bitrix\Main\Entity\DatetimeField;
7use Bitrix\Main\Entity\IntegerField;
8use Bitrix\Main\Entity\ReferenceField;
9use Bitrix\Main\Entity\StringField;
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}