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

/**
 * BaseCO_VIGENCIA_FUTURA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_vigencia_futura
 * @property integer $no_aprobacion
 * @property timestamp $fecha_aprobacion
 * @property integer $valor
 * @property timestamp $plazo_final
 * 
 * @method integer            getIdVigenciaFutura()   Returns the current record's "id_vigencia_futura" value
 * @method integer            getNoAprobacion()       Returns the current record's "no_aprobacion" value
 * @method timestamp          getFechaAprobacion()    Returns the current record's "fecha_aprobacion" value
 * @method integer            getValor()              Returns the current record's "valor" value
 * @method timestamp          getPlazoFinal()         Returns the current record's "plazo_final" value
 * @method CO_VIGENCIA_FUTURA setIdVigenciaFutura()   Sets the current record's "id_vigencia_futura" value
 * @method CO_VIGENCIA_FUTURA setNoAprobacion()       Sets the current record's "no_aprobacion" value
 * @method CO_VIGENCIA_FUTURA setFechaAprobacion()    Sets the current record's "fecha_aprobacion" value
 * @method CO_VIGENCIA_FUTURA setValor()              Sets the current record's "valor" value
 * @method CO_VIGENCIA_FUTURA setPlazoFinal()         Sets the current record's "plazo_final" value
 * 
 * @package    nomina
 * @subpackage model
 * @author     SofHouse Ltda.
 * @version    SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
 */
abstract class BaseCO_VIGENCIA_FUTURA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CO_VIGENCIA_FUTURA');
        $this->hasColumn('id_vigencia_futura', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_estudios_previos', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('no_aprobacion', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_aprobacion', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('valor', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('plazo_final', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

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