<?php

/**
 * BaseUniqueId
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property int       $id                       Type: integer(4), primary key
 * @property int       $last_id                  Type: integer(4)
 * @property string    $dbTable                  Type: string(50)
 * @property string    $field_name               Type: string(50)
 *  
 * @method int         getId()                   Type: integer(4), primary key
 * @method int         getLastId()               Type: integer(4)
 * @method string      getDbtable()              Type: string(50)
 * @method string      getFieldName()            Type: string(50)
 *  
 * @method UniqueId    setId(int $val)           Type: integer(4), primary key
 * @method UniqueId    setLastId(int $val)       Type: integer(4)
 * @method UniqueId    setDbtable(string $val)   Type: string(50)
 * @method UniqueId    setFieldName(string $val) Type: string(50)
 *  
 * @package    orangehrm
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
 */
abstract class BaseUniqueId extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('hs_hr_unique_id');
        $this->hasColumn('id', 'integer', 4, array(
             'type' => 'integer',
             'primary' => true,
             'autoincrement' => true,
             'length' => 4,
             ));
        $this->hasColumn('last_id', 'integer', 4, array(
             'type' => 'integer',
             'unsigned' => 1,
             'notnull' => true,
             'length' => 4,
             ));
        $this->hasColumn('table_name as dbTable', 'string', 50, array(
             'type' => 'string',
             'notnull' => true,
             'length' => 50,
             ));
        $this->hasColumn('field_name', 'string', 50, array(
             'type' => 'string',
             'notnull' => true,
             'length' => 50,
             ));
    }

    public function setUp()
    {
        parent::setUp();
        
    }
}