1
0
mirror of synced 2024-12-15 07:36:03 +03:00
doctrine2/models/EntityAddress.php

10 lines
272 B
PHP

<?php
class EntityAddress extends Doctrine_Record
{
public function setTableDefinition()
{
$this->hasColumn('user_id', 'integer', null, array('primary' => true));
$this->hasColumn('address_id', 'integer', null, array('primary' => true));
}
}