Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
postingthread.php
1<?php
2
4
6
23class PostingThreadTable extends Entity\DataManager
24{
25 const STATUS_NEW = 'N';
26 const STATUS_IN_PROGRESS = 'P';
27 const STATUS_DONE = 'D';
28
32 public static function getTableName()
33 {
34 return 'b_sender_posting_thread';
35 }
36
40 public static function getMap()
41 {
42 return [
43 'THREAD_ID' => [
44 'data_type' => 'integer',
45 'primary' => true,
46 'autocomplete' => true,
47 ],
48 'POSTING_ID' => [
49 'data_type' => 'integer',
50 'primary' => true,
51 'required' => true,
52 ],
53 'STATUS' => [
54 'data_type' => 'string',
55 'primary' => false,
56 'required' => true,
57 ],
58 'THREAD_TYPE' => [
59 'data_type' => 'string',
60 'required' => true,
61 ],
62 'EXPIRE_AT' => [
63 'data_type' => 'datetime',
64 'required' => true,
65 ],
66 ];
67 }
68}