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

22 lines
483 B
PHP
Raw Normal View History

2007-10-15 23:34:48 +04:00
<?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'));
}
}