Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
queuetable.php
1<?php
2
3
5
6use Bitrix\Main\Entity\DataManager;
7
24class QueueTable extends DataManager
25{
26
27 public static function getTableName(): string
28 {
29 return 'b_sonet_scorer_queue';
30 }
31
32 public static function getClass(): string
33 {
34 return static::class;
35 }
36
37 public static function getMap(): array
38 {
39 return [
40 'ID' => [
41 'data_type' => 'integer',
42 'primary' => true,
43 'autocomplete' => true,
44 ],
45 'USER_ID' => [
46 'data_type' => 'integer',
47 'required' => true,
48 ],
49 'TYPE' => [
50 'data_type' => 'string',
51 'required' => true,
52 ],
53 'SONET_LOG_ID' => [
54 'data_type' => 'integer',
55 'required' => true,
56 ],
57 'DATETIME' => [
58 'data_type' => 'datetime'
59 ]
60 ];
61 }
62}