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

/**
 * BasePR_HISTORIAL_PLAN_PAGOS
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_historial_pp
 * @property integer $id_rp
 * @property integer $id_pr_pagos
 * @property integer $id_nivel_agrup
 * @property decimal $valor
 * @property timestamp $fecha
 * @property string $usuario
 * @property timestamp $fecha_sys
 * @property integer $id_vigencia
 * @property string $vigencia
 * 
 * @method integer                 getIdHistorialPp()   Returns the current record's "id_historial_pp" value
 * @method integer                 getIdRp()            Returns the current record's "id_rp" value
 * @method integer                 getIdPrPagos()       Returns the current record's "id_pr_pagos" value
 * @method integer                 getIdNivelAgrup()    Returns the current record's "id_nivel_agrup" 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 timestamp               getFechaSys()        Returns the current record's "fecha_sys" 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_PLAN_PAGOS setIdHistorialPp()   Sets the current record's "id_historial_pp" value
 * @method PR_HISTORIAL_PLAN_PAGOS setIdRp()            Sets the current record's "id_rp" value
 * @method PR_HISTORIAL_PLAN_PAGOS setIdPrPagos()       Sets the current record's "id_pr_pagos" value
 * @method PR_HISTORIAL_PLAN_PAGOS setIdNivelAgrup()    Sets the current record's "id_nivel_agrup" value
 * @method PR_HISTORIAL_PLAN_PAGOS setValor()           Sets the current record's "valor" value
 * @method PR_HISTORIAL_PLAN_PAGOS setFecha()           Sets the current record's "fecha" value
 * @method PR_HISTORIAL_PLAN_PAGOS setUsuario()         Sets the current record's "usuario" value
 * @method PR_HISTORIAL_PLAN_PAGOS setFechaSys()        Sets the current record's "fecha_sys" value
 * @method PR_HISTORIAL_PLAN_PAGOS setIdVigencia()      Sets the current record's "id_vigencia" value
 * @method PR_HISTORIAL_PLAN_PAGOS 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_PLAN_PAGOS extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('PR_HISTORIAL_PLAN_PAGOS');
        $this->hasColumn('id_historial_pp', '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_pr_pagos', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_nivel_agrup', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             '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('usuario', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_sys', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $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();
        
    }
}