Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
b24integrationstatprovidertable.php
1<?php
3
5
22class B24IntegrationStatProviderTable extends Main\Entity\DataManager
23{
24 public static function getTableName()
25 {
26 return 'b_sale_b24integration_stat_provider';
27 }
28
32 public static function getMap()
33 {
34 return [
35 new Main\Entity\IntegerField('ID', ['primary' => true, 'autocomplete' => true]),
36 new Main\Entity\StringField('NAME', [ 'required' => true]),
37 new Main\Entity\StringField('EXTERNAL_SERVER_HOST', [ 'required' => true]),
38 new Main\Entity\StringField("XML_ID", ['required' => true]),
39 new Main\Entity\DatetimeField('TIMESTAMP_X', ['default_value' => new Main\Type\DateTime()]),
40 new Main\Entity\TextField('SETTINGS',['serialized' => true])
41 ];
42 }
43}