1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
RequestToEntitiesTable.php
См. документацию.
1<?php
2declare(strict_types=1);
3
4namespace Bitrix\Landing\Copilot\Model;
5
6use Bitrix\Main\Entity;
7use Bitrix\Main\ORM\Fields;
8use Bitrix\Main\ORM\Query;
9
26class RequestToEntitiesTable extends Entity\DataManager
27{
31 public static function getTableName(): string
32 {
33 return 'b_landing_copilot_request_to_entities';
34 }
35
39 public static function getMap(): array
40 {
41 return [
42 (new Fields\IntegerField('ID'))
43 ->configurePrimary()
44 ->configureAutocomplete()
45 ,
46 (new Fields\IntegerField('REQUEST_ID'))
47 ->configureRequired()
48 ,
49 (new Fields\StringField('ENTITY_TYPE'))
50 ->configureRequired()
51 ,
52 (new Fields\IntegerField('LANDING_ID')),
53 (new Fields\IntegerField('BLOCK_ID')),
54 (new Fields\StringField('NODE_CODE')),
55 (new Fields\IntegerField('POSITION'))
56 ->configureDefaultValue(0)
57 ,
59 'STEP_REF',
60 RequestToStepTable::class,
61 Query\Join::on('this.REQUEST_ID', 'ref.REQUEST_ID')
62 )),
64 'REQUEST_REF',
65 RequestsTable::class,
66 Query\Join::on('this.REQUEST_ID', 'ref.ID')
67 )),
68 ];
69 }
70}
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
Определения chain.php:3