Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
reliability.php
1<?php
2
4
7
27{
33 public static function getTableName()
34 {
35 return 'b_sale_ruspost_reliability';
36 }
37
38 public static function getObjectClass()
39 {
40 return \Sale\Handlers\Delivery\Additional\RusPost\Reliability\Reliability::class;
41 }
42
43 public static function getCollectionClass()
44 {
45 return \Sale\Handlers\Delivery\Additional\RusPost\Reliability\ReliabilityCollection::class;
46 }
52 public static function getMap()
53 {
54 return [
55 (new Fields\StringField('HASH'))
56 ->configurePrimary(true),
57
58 new Fields\IntegerField('RELIABILITY'),
59 new Fields\StringField('ADDRESS') ,
60 new Fields\StringField('FULL_NAME'),
61 new Fields\StringField('PHONE'),
62 new Fields\DatetimeField('UPDATED_AT')
63 ];
64 }
65}