Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
cashboxcheck.php
1<?php
3
4use Bitrix\Main\Entity\DataManager;
5
23{
24 public static function getTableName()
25 {
26 return 'b_sale_cashbox_check';
27 }
28
29 public static function getMap()
30 {
31 return array(
32 'ID' => array(
33 'primary' => true,
34 'autocomplete' => true,
35 'autoincrement' => true,
36 'data_type' => 'integer',
37 ),
38 'PAYMENT_ID' => array(
39 'data_type' => 'integer',
40 ),
41 'PAYMENT' => array(
42 'data_type' => 'Bitrix\Sale\Internals\PaymentTable',
43 'reference' => array(
44 '=this.PAYMENT_ID' => 'ref.ID'
45 )
46 ),
47 'SHIPMENT_ID' => array(
48 'data_type' => 'integer',
49 ),
50 'ORDER_ID' => array(
51 'data_type' => 'integer',
52 ),
53 'EXTERNAL_UUID' => array(
54 'data_type' => 'string',
55 ),
56 'CASHBOX_ID' => array(
57 'data_type' => 'integer',
58 ),
59 'CNT_FAIL_PRINT' => array(
60 'data_type' => 'integer',
61 'default' => 0
62 ),
63 'CASHBOX' => array(
64 'data_type' => 'Bitrix\Sale\Cashbox\Internals\CashboxTable',
65 'reference' => array(
66 '=this.CASHBOX_ID' => 'ref.ID'
67 )
68 ),
69 'DATE_CREATE' => array(
70 'data_type' => 'datetime',
71 'required' => true
72 ),
73 'DATE_PRINT_START' => array(
74 'data_type' => 'datetime',
75 ),
76 'DATE_PRINT_END' => array(
77 'data_type' => 'datetime',
78 ),
79 'SUM' => array(
80 'data_type' => 'float',
81 ),
82 'CURRENCY' => array(
83 'data_type' => 'string',
84 ),
85 'LINK_PARAMS' => array(
86 'data_type' => 'string',
87 'serialized' => true
88 ),
89 'TYPE' => array(
90 'data_type' => 'string',
91 'required' => true
92 ),
93 'STATUS' => array(
94 'data_type' => 'string',
95 ),
96 'CHECK2CASHBOX' => array(
97 'data_type' => 'Bitrix\Sale\Cashbox\Internals\Check2CashboxTable',
98 'reference' => array(
99 '=this.ID' => 'ref.CHECK_ID'
100 ),
101 'join_type' => 'INNER'
102 ),
103 'ENTITY_REGISTRY_TYPE' => array(
104 'data_type' => 'string',
105 'required' => true
106 ),
107 'ERROR_MESSAGE' => array(
108 'data_type' => 'text',
109 ),
110 );
111 }
112}