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

/**
 * BasePR_VF_PAGOS
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_vf_pagos
 * @property integer $id_vf_rp
 * @property integer $num_pagos
 * @property decimal $valor_total
 * @property string $vigencia
 * 
 * @method integer     getIdVfPagos()   Returns the current record's "id_vf_pagos" value
 * @method integer     getIdVfRp()      Returns the current record's "id_vf_rp" value
 * @method integer     getNumPagos()    Returns the current record's "num_pagos" value
 * @method decimal     getValorTotal()  Returns the current record's "valor_total" value
 * @method string      getVigencia()    Returns the current record's "vigencia" value
 * @method PR_VF_PAGOS setIdVfPagos()   Sets the current record's "id_vf_pagos" value
 * @method PR_VF_PAGOS setIdVfRp()      Sets the current record's "id_vf_rp" value
 * @method PR_VF_PAGOS setNumPagos()    Sets the current record's "num_pagos" value
 * @method PR_VF_PAGOS setValorTotal()  Sets the current record's "valor_total" value
 * @method PR_VF_PAGOS setVigencia()    Sets the current record's "vigencia" value
 * 
 * @package    cartera
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BasePR_VF_PAGOS extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('PR_VF_PAGOS');
        $this->hasColumn('id_vf_pagos', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_vf_rp', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_pagos', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_total', 'decimal', 38, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('vigencia', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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