Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
click.php
1<?php
9
10use Bitrix\Main;
12
31class ClickTable extends Main\Entity\DataManager
32{
38 public static function getTableName()
39 {
40 return 'b_sender_posting_click';
41 }
42
48 public static function getMap()
49 {
50 return array(
51 'ID' => array(
52 'data_type' => 'integer',
53 'primary' => true,
54 'autocomplete' => true,
55 ),
56 'POSTING_ID' => array(
57 'data_type' => 'integer',
58 ),
59 'RECIPIENT_ID' => array(
60 'data_type' => 'integer',
61 ),
62 'DATE_INSERT' => array(
63 'data_type' => 'datetime',
64 'default_value' => new Main\Type\DateTime(),
65 ),
66 'URL' => array(
67 'data_type' => 'string',
68 ),
69 'POSTING' => array(
70 'data_type' => Model\PostingTable::class,
71 'reference' => array('=this.POSTING_ID' => 'ref.ID'),
72 ),
73 );
74 }
75}