Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
taskoperation.php
1<?php
2
3namespace Bitrix\Main;
4
5use Bitrix\Main\ORM\Data\Internal\DeleteByFilterTrait;
6
23class TaskOperationTable extends Entity\DataManager
24{
25 use DeleteByFilterTrait;
26
27 public static function getTableName()
28 {
29 return 'b_task_operation';
30 }
31
32 public static function getMap()
33 {
34 return array(
35 'TASK_ID' => array(
36 'data_type' => 'integer',
37 'primary' => true,
38 ),
39 'OPERATION_ID' => array(
40 'data_type' => 'integer',
41 'primary' => true,
42 ),
43 'OPERATION' => array(
44 'data_type' => 'Bitrix\Main\OperationTable',
45 'reference' => array('=this.OPERATION_ID' => 'ref.ID'),
46 ),
47 'TASK' => array(
48 'data_type' => 'Bitrix\Main\TaskTable',
49 'reference' => array('=this.TASK_ID' => 'ref.ID'),
50 ),
51 );
52 }
53}