Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
timelinequeue.php
1<?php
8namespace Bitrix\Sender;
9
13
14Loc::loadMessages(__FILE__);
15
33{
34 const STATUS_NEW = 'N';
35
39 public static function getTableName()
40 {
41 return 'b_sender_timeline_queue';
42 }
43
47 public static function getMap()
48 {
49 return [
50 'ID' => [
51 'data_type' => 'integer',
52 'primary' => true,
53 'autocomplete' => true,
54 ],
55 'POSTING_ID' => [
56 'data_type' => 'integer',
57 'autocomplete' => true,
58 ],
59 'ENTITY_ID' => [
60 'data_type' => 'integer',
61 'required' => true,
62 ],
63 'RECIPIENT_ID' => [
64 'data_type' => 'integer',
65 'required' => true,
66 ],
67 'CONTACT_TYPE_ID' => [
68 'data_type' => 'integer',
69 ],
70 'CONTACT_CODE' => [
71 'data_type' => 'string',
72 'required' => true
73 ],
74 'FIELDS' => [
75 'data_type' => 'string',
76 'required' => true,
77 ],
78 'DATE_INSERT' => [
79 'data_type' => 'datetime',
80 'required' => true,
81 'default_value' => new MainType\DateTime(),
82 ],
83 'STATUS' => [
84 'data_type' => 'string',
85 'required' => true,
86 'default_value' => static::STATUS_NEW,
87 ],
88 ];
89 }
90}
static loadMessages($file)
Definition loc.php:64