Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
productcompilationtable.php
1<?php
2namespace Bitrix\Catalog;
3
4use Bitrix\Crm\DealTable;
12
13Loc::loadMessages(__FILE__);
14
45{
51 public static function getTableName()
52 {
53 return 'b_catalog_product_compilation';
54 }
55
61 public static function getMap()
62 {
63 return [
64 new IntegerField(
65 'ID',
66 [
67 'primary' => true,
68 'autocomplete' => true,
69 'title' => Loc::getMessage('PRODUCT_COMPILATION_ENTITY_ID_FIELD')
70 ]
71 ),
72 new IntegerField(
73 'DEAL_ID',
74 [
75 'required' => true,
76 'title' => Loc::getMessage('PRODUCT_COMPILATION_ENTITY_DEAL_ID_FIELD')
77 ]
78 ),
79 new TextField(
80 'PRODUCT_IDS',
81 [
82 'required' => true,
83 'title' => Loc::getMessage('PRODUCT_COMPILATION_ENTITY_PRODUCT_IDS_FIELD')
84 ]
85 ),
86 new DatetimeField(
87 'CREATION_DATE',
88 [
89 'required' => true,
90 'title' => Loc::getMessage('PRODUCT_COMPILATION_ENTITY_PRODUCT_IDS_FIELD')
91 ]
92 ),
93 new IntegerField(
94 'CHAT_ID',
95 [
96 'required' => false,
97 'title' => Loc::getMessage('PRODUCT_COMPILATION_ENTITY_CHAT_ID_FIELD')
98 ]
99 ),
100 new IntegerField(
101 'QUEUE_ID',
102 [
103 'required' => false,
104 'title' => Loc::getMessage('PRODUCT_COMPILATION_ENTITY_QUEUE_ID_FIELD')
105 ]
106 ),
107 ];
108 }
109}
static loadMessages($file)
Definition loc.php:64
static getMessage($code, $replace=null, $language=null)
Definition loc.php:29