<?php

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

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