Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
read.php
1<?php
9
10use Bitrix\Main;
12
13
32class ReadTable extends Main\Entity\DataManager
33{
39 public static function getTableName()
40 {
41 return 'b_sender_posting_read';
42 }
43
49 public static function getMap()
50 {
51 return array(
52 'ID' => array(
53 'data_type' => 'integer',
54 'primary' => true,
55 'autocomplete' => true,
56 ),
57 'POSTING_ID' => array(
58 'data_type' => 'integer',
59 ),
60 'RECIPIENT_ID' => array(
61 'data_type' => 'integer',
62 ),
63 'DATE_INSERT' => array(
64 'data_type' => 'datetime',
65 'default_value' => new Main\Type\DateTime(),
66 ),
67 );
68 }
69}