<?php

/**
 * This class has been auto-generated by the Doctrine ORM Framework
 */
abstract class BaseThdUser extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('thd_user');
        $this->hasColumn('id', 'integer', 4, array(
             'type' => 'integer',
             'unsigned' => '1',
             'primary' => true,
             'autoincrement' => true,
             'length' => '4',
             ));
        $this->hasColumn('uniqueid', 'string', 255, array(
             'type' => 'string',
             'notnull' => true,
             'length' => '255',
             ));
    }

    public function setUp()
    {
        $this->hasMany('ThdSegment as segments', array(
             'local' => 'id',
             'foreign' => 'user_id'));
    }
}