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

/**
 * BaseCA_APROB_CAJA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_aprob_caja
 * @property integer $id_punto_venta
 * @property integer $id_caja
 * @property string $num_resol_vig
 * @property timestamp $fecha_aprob
 * @property integer $num_aprob_ini
 * @property integer $num_aprob_fin
 * @property timestamp $fecha_vencimiento
 * @property integer $actual
 * 
 * @method integer       getIdAprobCaja()       Returns the current record's "id_aprob_caja" value
 * @method integer       getIdPuntoVenta()      Returns the current record's "id_punto_venta" value
 * @method integer       getIdCaja()            Returns the current record's "id_caja" value
 * @method string        getNumResolVig()       Returns the current record's "num_resol_vig" value
 * @method timestamp     getFechaAprob()        Returns the current record's "fecha_aprob" value
 * @method integer       getNumAprobIni()       Returns the current record's "num_aprob_ini" value
 * @method integer       getNumAprobFin()       Returns the current record's "num_aprob_fin" value
 * @method timestamp     getFechaVencimiento()  Returns the current record's "fecha_vencimiento" value
 * @method integer       getActual()            Returns the current record's "actual" value
 * @method CA_APROB_CAJA setIdAprobCaja()       Sets the current record's "id_aprob_caja" value
 * @method CA_APROB_CAJA setIdPuntoVenta()      Sets the current record's "id_punto_venta" value
 * @method CA_APROB_CAJA setIdCaja()            Sets the current record's "id_caja" value
 * @method CA_APROB_CAJA setNumResolVig()       Sets the current record's "num_resol_vig" value
 * @method CA_APROB_CAJA setFechaAprob()        Sets the current record's "fecha_aprob" value
 * @method CA_APROB_CAJA setNumAprobIni()       Sets the current record's "num_aprob_ini" value
 * @method CA_APROB_CAJA setNumAprobFin()       Sets the current record's "num_aprob_fin" value
 * @method CA_APROB_CAJA setFechaVencimiento()  Sets the current record's "fecha_vencimiento" value
 * @method CA_APROB_CAJA setActual()            Sets the current record's "actual" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCA_APROB_CAJA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_APROB_CAJA');
        $this->hasColumn('id_aprob_caja', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_punto_venta', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_caja', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_resol_vig', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_aprob', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('num_aprob_ini', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_aprob_fin', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_vencimiento', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('actual', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1
                ',
             'primary' => false,
             'length' => 1,
             ));
    }

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