1
0
mirror of synced 2024-12-16 08:06:02 +03:00
doctrine2/sandbox/models/generated/BaseUser.class.php
2007-10-15 19:34:48 +00:00

22 lines
483 B
PHP

<?php
/**
* This class has been auto-generated by the Doctrine ORM Framework
*/
abstract class BaseUser extends Doctrine_Record
{
public function setTableDefinition()
{
$this->setTableName('user');
$this->hasColumn('username', 'string', 255);
$this->hasColumn('contact_id', 'integer', null);
}
public function setUp()
{
$this->hasOne('Contact', array('local' => 'contact_id',
'foreign' => 'id'));
}
}