<?php

/**
 * BaseUniqueId
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $last_id
 * @property string $dbTable
 * @property string $field_name
 * 
 * @method integer  getId()         Returns the current record's "id" value
 * @method integer  getLastId()     Returns the current record's "last_id" value
 * @method string   getDbTable()    Returns the current record's "dbTable" value
 * @method string   getFieldName()  Returns the current record's "field_name" value
 * @method UniqueId setId()         Sets the current record's "id" value
 * @method UniqueId setLastId()     Sets the current record's "last_id" value
 * @method UniqueId setDbTable()    Sets the current record's "dbTable" value
 * @method UniqueId setFieldName()  Sets the current record's "field_name" value
 * 
 * @package    orangehrm
 * @subpackage model\core\base
 * @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();
        
    }
}