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

/**
 * BaseCONS_RP
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_tercero
 * @property integer $id_pago
 * @property string $objeto
 * @property string $observaciones
 * @property integer $id_cdp
 * @property timestamp $fecha
 * @property timestamp $fecha_proceso
 * @property integer $estado
 * @property integer $id_vigencia
 * @property string $vigencia
 * @property string $usuariolog
 * 
 * @method integer   getId()            Returns the current record's "id" value
 * @method integer   getIdTercero()     Returns the current record's "id_tercero" value
 * @method integer   getIdPago()        Returns the current record's "id_pago" value
 * @method string    getObjeto()        Returns the current record's "objeto" value
 * @method string    getObservaciones() Returns the current record's "observaciones" value
 * @method integer   getIdCdp()         Returns the current record's "id_cdp" value
 * @method timestamp getFecha()         Returns the current record's "fecha" value
 * @method timestamp getFechaProceso()  Returns the current record's "fecha_proceso" value
 * @method integer   getEstado()        Returns the current record's "estado" value
 * @method integer   getIdVigencia()    Returns the current record's "id_vigencia" value
 * @method string    getVigencia()      Returns the current record's "vigencia" value
 * @method string    getUsuariolog()    Returns the current record's "usuariolog" value
 * @method CONS_RP   setId()            Sets the current record's "id" value
 * @method CONS_RP   setIdTercero()     Sets the current record's "id_tercero" value
 * @method CONS_RP   setIdPago()        Sets the current record's "id_pago" value
 * @method CONS_RP   setObjeto()        Sets the current record's "objeto" value
 * @method CONS_RP   setObservaciones() Sets the current record's "observaciones" value
 * @method CONS_RP   setIdCdp()         Sets the current record's "id_cdp" value
 * @method CONS_RP   setFecha()         Sets the current record's "fecha" value
 * @method CONS_RP   setFechaProceso()  Sets the current record's "fecha_proceso" value
 * @method CONS_RP   setEstado()        Sets the current record's "estado" value
 * @method CONS_RP   setIdVigencia()    Sets the current record's "id_vigencia" value
 * @method CONS_RP   setVigencia()      Sets the current record's "vigencia" value
 * @method CONS_RP   setUsuariolog()    Sets the current record's "usuariolog" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCONS_RP extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CONS_RP');
        $this->hasColumn('id', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_tercero', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_pago', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('objeto', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('observaciones', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('id_cdp', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_proceso', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('estado', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_vigencia', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('vigencia', 'string', 4, array(
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 4,
             ));
        $this->hasColumn('usuariolog', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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