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

/**
 * BaseCA_CONSECUTIVO_CAJA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_punto_venta
 * @property integer $id_caja
 * @property integer $consec_fac
 * @property integer $sesion_caja
 * 
 * @method integer             getIdPuntoVenta()   Returns the current record's "id_punto_venta" value
 * @method integer             getIdCaja()         Returns the current record's "id_caja" value
 * @method integer             getConsecFac()      Returns the current record's "consec_fac" value
 * @method integer             getSesionCaja()     Returns the current record's "sesion_caja" value
 * @method CA_CONSECUTIVO_CAJA setIdPuntoVenta()   Sets the current record's "id_punto_venta" value
 * @method CA_CONSECUTIVO_CAJA setIdCaja()         Sets the current record's "id_caja" value
 * @method CA_CONSECUTIVO_CAJA setConsecFac()      Sets the current record's "consec_fac" value
 * @method CA_CONSECUTIVO_CAJA setSesionCaja()     Sets the current record's "sesion_caja" 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_CONSECUTIVO_CAJA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_CONSECUTIVO_CAJA');
        $this->hasColumn('id_punto_venta', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_caja', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('consec_fac', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('sesion_caja', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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