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

/**
 * BasePR_PAGOS_OBLIGA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_pagos_obliga
 * @property integer $id_pr_pagos
 * @property integer $id_nivel_agrup
 * @property timestamp $fecha
 * @property decimal $valor
 * @property integer $id_obligacion
 * @property integer $secuencia
 * @property integer $id_vigencia
 * @property string $vigencia
 * 
 * @method integer         getIdPagosObliga()   Returns the current record's "id_pagos_obliga" 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 timestamp       getFecha()           Returns the current record's "fecha" value
 * @method decimal         getValor()           Returns the current record's "valor" value
 * @method integer         getIdObligacion()    Returns the current record's "id_obligacion" value
 * @method integer         getSecuencia()       Returns the current record's "secuencia" value
 * @method integer         getIdVigencia()      Returns the current record's "id_vigencia" value
 * @method string          getVigencia()        Returns the current record's "vigencia" value
 * @method PR_PAGOS_OBLIGA setIdPagosObliga()   Sets the current record's "id_pagos_obliga" value
 * @method PR_PAGOS_OBLIGA setIdPrPagos()       Sets the current record's "id_pr_pagos" value
 * @method PR_PAGOS_OBLIGA setIdNivelAgrup()    Sets the current record's "id_nivel_agrup" value
 * @method PR_PAGOS_OBLIGA setFecha()           Sets the current record's "fecha" value
 * @method PR_PAGOS_OBLIGA setValor()           Sets the current record's "valor" value
 * @method PR_PAGOS_OBLIGA setIdObligacion()    Sets the current record's "id_obligacion" value
 * @method PR_PAGOS_OBLIGA setSecuencia()       Sets the current record's "secuencia" value
 * @method PR_PAGOS_OBLIGA setIdVigencia()      Sets the current record's "id_vigencia" value
 * @method PR_PAGOS_OBLIGA 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_PAGOS_OBLIGA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('PR_PAGOS_OBLIGA');
        $this->hasColumn('id_pagos_obliga', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             '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('fecha', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('valor', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_obligacion', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('secuencia', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             '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();
        
    }
}