1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
<?php
namespace BEdita\Core\Model\Entity;
use Cake\ORM\Entity;
/**
* ObjectRelation Entity
*
* @property int $left_id
* @property int $relation_id
* @property int $right_id
* @property int $priority
* @property int $inv_priority
* @property array $params
*
* @property \BEdita\Core\Model\Entity\ObjectEntity $object
* @property \BEdita\Core\Model\Entity\Relation $relation
*/
class ObjectRelation extends Entity
{
/**
* @inheritDoc
*/
protected $_accessible = [
'*' => true,
'left_id' => false,
'relation_id' => false,
'right_id' => false,
];
/**
* @inheritDoc
*/
protected $_hidden = [
'left_id',
'right_id',
'relation_id',
];
}