Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
delivery.php
1<?php
9
10use Bitrix\Sale;
11use Bitrix\Main;
13
14class DeliveryTable extends Entity\DataManager
15{
16 public static function getFilePath()
17 {
18 return __FILE__;
19 }
20
21 public static function getTableName()
22 {
23 return 'b_sale_delivery';
24 }
25
26 public static function getMap()
27 {
28 return array(
29
30 'ID' => array(
31 'data_type' => 'integer',
32 'primary' => true,
33 'autocomplete' => true,
34 ),
35 'NAME' => array(
36 'data_type' => 'string',
37 ),
38 'PRICE' => array(
39 'data_type' => 'float'
40 )
41 );
42 }
43}