1
0
mirror of synced 2024-12-13 22:56:04 +03:00
doctrine2/models/EntityReference.php

12 lines
303 B
PHP

<?php
class EntityReference extends Doctrine_Record
{
public function setTableDefinition()
{
$this->hasColumn('entity1', 'integer', null, 'primary');
$this->hasColumn('entity2', 'integer', null, 'primary');
//$this->setPrimaryKey(array('entity1', 'entity2'));
}
}