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

/**
 * BaseCM_RP_CAJA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_rp_caja
 * @property integer $id_rp
 * @property integer $id_caja_menor
 * @property integer $estado
 * @property string $vigencia
 * @property integer $id_vigencia
 * @property timestamp $fecha_registro
 * @property string $usuariolog
 * @property timestamp $fechalog
 * 
 * @method integer    getIdRpCaja()       Returns the current record's "id_rp_caja" value
 * @method integer    getIdRp()           Returns the current record's "id_rp" value
 * @method integer    getIdCajaMenor()    Returns the current record's "id_caja_menor" value
 * @method integer    getEstado()         Returns the current record's "estado" value
 * @method string     getVigencia()       Returns the current record's "vigencia" value
 * @method integer    getIdVigencia()     Returns the current record's "id_vigencia" value
 * @method timestamp  getFechaRegistro()  Returns the current record's "fecha_registro" value
 * @method string     getUsuariolog()     Returns the current record's "usuariolog" value
 * @method timestamp  getFechalog()       Returns the current record's "fechalog" value
 * @method CM_RP_CAJA setIdRpCaja()       Sets the current record's "id_rp_caja" value
 * @method CM_RP_CAJA setIdRp()           Sets the current record's "id_rp" value
 * @method CM_RP_CAJA setIdCajaMenor()    Sets the current record's "id_caja_menor" value
 * @method CM_RP_CAJA setEstado()         Sets the current record's "estado" value
 * @method CM_RP_CAJA setVigencia()       Sets the current record's "vigencia" value
 * @method CM_RP_CAJA setIdVigencia()     Sets the current record's "id_vigencia" value
 * @method CM_RP_CAJA setFechaRegistro()  Sets the current record's "fecha_registro" value
 * @method CM_RP_CAJA setUsuariolog()     Sets the current record's "usuariolog" value
 * @method CM_RP_CAJA setFechalog()       Sets the current record's "fechalog" value
 * 
 * @package    cobro_coactivo
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCM_RP_CAJA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CM_RP_CAJA');
        $this->hasColumn('id_rp_caja', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_rp', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_caja_menor', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('vigencia', 'string', 4, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('id_vigencia', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_registro', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('usuariolog', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fechalog', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

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