Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
cashboxconnect.php
1<?php
3
5use Bitrix\Main\Entity\DataManager;
7
25{
26 public static function getTableName()
27 {
28 return 'b_sale_cashbox_connect';
29 }
30
31 public static function getMap()
32 {
33 return array(
34 'HASH' => array(
35 'data_type' => 'string',
36 'primary' => true,
37 ),
38 'ACTIVE' => array(
39 'data_type' => 'boolean',
40 'values' => array('N', 'Y'),
41 'default_value' => 'Y'
42 ),
43 'DATE_CREATE' => array(
44 'data_type' => 'datetime',
45 'default_value' => new DateTime
46 )
47 );
48 }
49}