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

/**
 * BasePR_HISTORIAL_CDP
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_historial_cdp
 * @property integer $id_cdp
 * @property integer $id_cpo
 * @property integer $id_asign
 * @property integer $id_obj_gasto
 * @property decimal $valor
 * @property timestamp $fecha
 * @property string $usuario
 * @property string $accion
 * @property integer $id_vigencia
 * @property string $vigencia
 * 
 * @method integer          getIdHistorialCdp()   Returns the current record's "id_historial_cdp" value
 * @method integer          getIdCdp()            Returns the current record's "id_cdp" value
 * @method integer          getIdCpo()            Returns the current record's "id_cpo" value
 * @method integer          getIdAsign()          Returns the current record's "id_asign" value
 * @method integer          getIdObjGasto()       Returns the current record's "id_obj_gasto" value
 * @method decimal          getValor()            Returns the current record's "valor" value
 * @method timestamp        getFecha()            Returns the current record's "fecha" value
 * @method string           getUsuario()          Returns the current record's "usuario" value
 * @method string           getAccion()           Returns the current record's "accion" value
 * @method integer          getIdVigencia()       Returns the current record's "id_vigencia" value
 * @method string           getVigencia()         Returns the current record's "vigencia" value
 * @method PR_HISTORIAL_CDP setIdHistorialCdp()   Sets the current record's "id_historial_cdp" value
 * @method PR_HISTORIAL_CDP setIdCdp()            Sets the current record's "id_cdp" value
 * @method PR_HISTORIAL_CDP setIdCpo()            Sets the current record's "id_cpo" value
 * @method PR_HISTORIAL_CDP setIdAsign()          Sets the current record's "id_asign" value
 * @method PR_HISTORIAL_CDP setIdObjGasto()       Sets the current record's "id_obj_gasto" value
 * @method PR_HISTORIAL_CDP setValor()            Sets the current record's "valor" value
 * @method PR_HISTORIAL_CDP setFecha()            Sets the current record's "fecha" value
 * @method PR_HISTORIAL_CDP setUsuario()          Sets the current record's "usuario" value
 * @method PR_HISTORIAL_CDP setAccion()           Sets the current record's "accion" value
 * @method PR_HISTORIAL_CDP setIdVigencia()       Sets the current record's "id_vigencia" value
 * @method PR_HISTORIAL_CDP setVigencia()         Sets the current record's "vigencia" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BasePR_HISTORIAL_CDP extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('PR_HISTORIAL_CDP');
        $this->hasColumn('id_historial_cdp', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_cdp', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_cpo', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_asign', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_obj_gasto', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor', 'decimal', 38, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('fecha', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('usuario', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('accion', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_vigencia', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('vigencia', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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