<?php

/**
 * BaseLeaveLeaveEntitlement
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property int                    $id                        Type: integer(4), primary key
 * @property int                    $leave_id                  Type: integer(4)
 * @property int                    $entitlement_id            Type: integer(4)
 * @property float                  $length_days               Type: decimal(6)
 *  
 * @method int                      getId()                    Type: integer(4), primary key
 * @method int                      getLeaveId()               Type: integer(4)
 * @method int                      getEntitlementId()         Type: integer(4)
 * @method float                    getLengthDays()            Type: decimal(6)
 *  
 * @method LeaveLeaveEntitlement    setId(int $val)            Type: integer(4), primary key
 * @method LeaveLeaveEntitlement    setLeaveId(int $val)       Type: integer(4)
 * @method LeaveLeaveEntitlement    setEntitlementId(int $val) Type: integer(4)
 * @method LeaveLeaveEntitlement    setLengthDays(float $val)  Type: decimal(6)
 *  
 * @package    orangehrm
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
 */
abstract class BaseLeaveLeaveEntitlement extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('ohrm_leave_leave_entitlement');
        $this->hasColumn('id', 'integer', 4, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'autoincrement' => true,
             'length' => 4,
             ));
        $this->hasColumn('leave_id', 'integer', 4, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'notnull' => false,
             'autoincrement' => false,
             'length' => 4,
             ));
        $this->hasColumn('entitlement_id', 'integer', 4, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => true,
             'primary' => false,
             'notnull' => false,
             'autoincrement' => false,
             'length' => 4,
             ));
        $this->hasColumn('length_days', 'decimal', 6, array(
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => true,
             'primary' => false,
             'notnull' => false,
             'autoincrement' => false,
             'length' => 6,
             'scale' => '4',
             ));
    }

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