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

/**
 * BaseCONS_PAGOS_DISTRI
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_pr_pagos
 * @property integer $id_nivel_agrup
 * @property timestamp $fecha
 * @property decimal $valor
 * 
 * @method integer           getId()             Returns the current record's "id" 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 CONS_PAGOS_DISTRI setId()             Sets the current record's "id" value
 * @method CONS_PAGOS_DISTRI setIdPrPagos()      Sets the current record's "id_pr_pagos" value
 * @method CONS_PAGOS_DISTRI setIdNivelAgrup()   Sets the current record's "id_nivel_agrup" value
 * @method CONS_PAGOS_DISTRI setFecha()          Sets the current record's "fecha" value
 * @method CONS_PAGOS_DISTRI setValor()          Sets the current record's "valor" 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_PAGOS_DISTRI extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CONS_PAGOS_DISTRI');
        $this->hasColumn('id', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_pr_pagos', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_nivel_agrup', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('valor', 'decimal', 20, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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