Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
entityformconfigactable.php
1<?php
2
4
7
24class EntityFormConfigAcTable extends Entity\DataManager
25{
26 public static function getTableName()
27 {
28 return 'b_ui_entity_editor_config_ac';
29 }
30
31 public static function getMap()
32 {
33 return [
34 new Entity\IntegerField('ID', [
35 'autocomplete' => true,
36 'primary' => true
37 ]),
38 new Entity\StringField('ACCESS_CODE', [
39 'required' => true,
40 'size' => 10
41 ]),
42 new Entity\ReferenceField(
43 'USER_ACCESS',
44 UserAccessTable::class,
45 array('=this.ACCESS_CODE' => 'ref.ACCESS_CODE')
46 ),
47 new Entity\IntegerField('CONFIG_ID', [
48 'required' => true,
49 'size' => 10
50 ]),
51 new Entity\ReferenceField(
52 'CONFIG',
53 EntityFormConfigTable::class,
54 array('=this.CONFIG_ID' => 'ref.ID')
55 ),
56 ];
57 }
58}