Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
orderchange.php
1<?php
2
4
6
7
24class OrderChangeTable extends Main\Entity\DataManager
25{
26 public static function getTableName()
27 {
28 return 'b_sale_order_change';
29 }
30
31 public static function getMap()
32 {
33 return array(
34 'ID' => array(
35 'data_type' => 'integer',
36 'primary' => true,
37 'autocomplete' => true
38 ),
39 'ORDER_ID' => array(
40 'data_type' => 'integer',
41 'required' => true
42 ),
43 'TYPE' => array(
44 'data_type' => 'string',
45 'required' => true
46 ),
47 'DATA' => array(
48 'data_type' => 'string'
49 ),
50 'DATE_CREATE' => array(
51 'data_type' => 'datetime',
52 'default_value' => new Main\Type\DateTime(),
53 'required' => true
54 ),
55 'DATE_MODIFY' => array(
56 'data_type' => 'datetime',
57 'default_value' => new Main\Type\DateTime(),
58 'required' => true
59 ),
60 'USER_ID' => array(
61 'data_type' => 'integer',
62 ),
63 'ENTITY' => array(
64 'data_type' => 'string'
65 ),
66 'ENTITY_ID' => array(
67 'data_type' => 'integer'
68 ),
69 );
70 }
71}