Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
roundingrule.php
1<?php
2
3
5
6
10
11final class RoundingRule extends Base
12{
13
14 public function getFields()
15 {
16 return [
17 'ID'=>[
18 'TYPE'=>DataType::TYPE_INT,
19 'ATTRIBUTES'=>[
20 Attributes::READONLY
21 ]
22 ],
23 'CATALOG_GROUP_ID'=>[
24 'TYPE'=>DataType::TYPE_INT,
25 'ATTRIBUTES'=>[
26 Attributes::REQUIRED
27 ]
28 ],
29 'PRICE'=>[
30 'TYPE'=>DataType::TYPE_FLOAT,
31 'ATTRIBUTES'=>[
32 Attributes::REQUIRED
33 ]
34 ],
35 'ROUND_TYPE'=>[
36 'TYPE'=>DataType::TYPE_INT,
37 'ATTRIBUTES'=>[
38 Attributes::REQUIRED
39 ]
40 ],
41 'ROUND_PRECISION'=>[
42 'TYPE'=>DataType::TYPE_FLOAT,
43 'ATTRIBUTES'=>[
44 Attributes::REQUIRED
45 ]
46 ],
47 'CREATED_BY'=>[
48 'TYPE'=>DataType::TYPE_INT,
49 'ATTRIBUTES'=>[
50 Attributes::READONLY
51 ]
52 ],
53 'DATE_CREATE'=>[
54 'TYPE'=>DataType::TYPE_DATETIME,
55 'ATTRIBUTES'=>[
56 Attributes::READONLY
57 ]
58 ],
59 'MODIFIED_BY'=>[
60 'TYPE'=>DataType::TYPE_INT,
61 'ATTRIBUTES'=>[
62 Attributes::READONLY
63 ]
64 ],
65 'DATE_MODIFY'=>[
66 'TYPE'=>DataType::TYPE_DATETIME,
67 'ATTRIBUTES'=>[
68 Attributes::READONLY
69 ]
70 ]
71 ];
72 }
73}