<?php
// Connection Component Binding
Doctrine_Manager::getInstance()->bindComponent('NO_CAUSA_VACAC', 'doctrine');

/**
 * BaseNO_CAUSA_VACAC
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_causa_vacac
 * @property integer $id_tipo_doc
 * @property string $num_doc
 * @property timestamp $fecha_ini
 * @property timestamp $fecha_fin
 * @property decimal $num_dias
 * @property decimal $dias_disfrutados
 * @property decimal $saldos_dias
 * 
 * @method integer        getId()               Returns the current record's "id" value
 * @method integer        getIdCausaVacac()     Returns the current record's "id_causa_vacac" value
 * @method integer        getIdTipoDoc()        Returns the current record's "id_tipo_doc" value
 * @method string         getNumDoc()           Returns the current record's "num_doc" value
 * @method timestamp      getFechaIni()         Returns the current record's "fecha_ini" value
 * @method timestamp      getFechaFin()         Returns the current record's "fecha_fin" value
 * @method decimal        getNumDias()          Returns the current record's "num_dias" value
 * @method decimal        getDiasDisfrutados()  Returns the current record's "dias_disfrutados" value
 * @method decimal        getSaldosDias()       Returns the current record's "saldos_dias" value
 * @method NO_CAUSA_VACAC setId()               Sets the current record's "id" value
 * @method NO_CAUSA_VACAC setIdCausaVacac()     Sets the current record's "id_causa_vacac" value
 * @method NO_CAUSA_VACAC setIdTipoDoc()        Sets the current record's "id_tipo_doc" value
 * @method NO_CAUSA_VACAC setNumDoc()           Sets the current record's "num_doc" value
 * @method NO_CAUSA_VACAC setFechaIni()         Sets the current record's "fecha_ini" value
 * @method NO_CAUSA_VACAC setFechaFin()         Sets the current record's "fecha_fin" value
 * @method NO_CAUSA_VACAC setNumDias()          Sets the current record's "num_dias" value
 * @method NO_CAUSA_VACAC setDiasDisfrutados()  Sets the current record's "dias_disfrutados" value
 * @method NO_CAUSA_VACAC setSaldosDias()       Sets the current record's "saldos_dias" value
 * 
 * @package    controlComisiones
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseNO_CAUSA_VACAC extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_CAUSA_VACAC');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_causa_vacac', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tipo_doc', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_doc', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_ini', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_fin', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('num_dias', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('dias_disfrutados', 'decimal', 20, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('saldos_dias', 'decimal', 20, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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