<?php

/**
 * BaseLeavePeriodHistory
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $leave_period_start_month
 * @property integer $leave_period_start_day
 * @property date $created_at
 * 
 * @method integer            getId()                       Returns the current record's "id" value
 * @method integer            getLeavePeriodStartMonth()    Returns the current record's "leave_period_start_month" value
 * @method integer            getLeavePeriodStartDay()      Returns the current record's "leave_period_start_day" value
 * @method date               getCreatedAt()                Returns the current record's "created_at" value
 * @method LeavePeriodHistory setId()                       Sets the current record's "id" value
 * @method LeavePeriodHistory setLeavePeriodStartMonth()    Sets the current record's "leave_period_start_month" value
 * @method LeavePeriodHistory setLeavePeriodStartDay()      Sets the current record's "leave_period_start_day" value
 * @method LeavePeriodHistory setCreatedAt()                Sets the current record's "created_at" value
 * 
 * @package    orangehrm
 * @subpackage model\leave\base
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
 */
abstract class BaseLeavePeriodHistory extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('ohrm_leave_period_history');
        $this->hasColumn('id', 'integer', 4, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'autoincrement' => true,
             'length' => 4,
             ));
        $this->hasColumn('leave_period_start_month', 'integer', 7, array(
             'type' => 'integer',
             'length' => 7,
             ));
        $this->hasColumn('leave_period_start_day', 'integer', 7, array(
             'type' => 'integer',
             'length' => 7,
             ));
        $this->hasColumn('created_at', 'date', null, array(
             'type' => 'date',
             ));
    }

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