Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
DebuggerSessionWorkflowContextTable.php
1<?php
2
4
10
28{
29 public static function getTableName()
30 {
31 return 'b_bp_debugger_session_workflow_context';
32 }
33
34 public static function getObjectClass()
35 {
36 return WorkflowContext::class;
37 }
38
39 public static function getMap()
40 {
41 return [
42 (new Entity\IntegerField('ID'))
43 ->configurePrimary()
44 ->configureAutocomplete(),
45
46 (new Entity\StringField('SESSION_ID'))
47 ->addValidator(new LengthValidator(1, 32)),
48 (new Reference(
49 'SESSION',
50 DebuggerSessionTable::class,
51 Join::on('this.SESSION_ID', 'ref.ID'),
52 ))->configureJoinType(Join::TYPE_INNER),
53
54 (new Entity\StringField('WORKFLOW_ID'))
55 ->addValidator(new LengthValidator(1, 32)),
56
57 (new Entity\IntegerField('TEMPLATE_SHARDS_ID')),
58 new Reference(
59 'TEMPLATE_SHARDS',
60 DebuggerSessionTemplateShardsTable::class,
61 Join::on('this.TEMPLATE_SHARDS_ID', 'ref.ID')
62 ),
63 ];
64 }
65}