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

/**
 * BaseRE_DES_PAGO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_des_pago
 * @property integer $id_cla_despago
 * @property integer $id_mae_ter
 * @property timestamp $fecha_proc
 * @property timestamp $fecha_doc
 * @property integer $tipo_doc
 * @property string $numero_doc
 * @property string $adjunto
 * @property decimal $valor
 * @property decimal $aplica_valor
 * @property decimal $aplica_porcentaje
 * @property integer $estado
 * @property string $observaciones
 * @property integer $id_mae_ter_acree
 * 
 * @method integer     getIdDesPago()         Returns the current record's "id_des_pago" value
 * @method integer     getIdClaDespago()      Returns the current record's "id_cla_despago" value
 * @method integer     getIdMaeTer()          Returns the current record's "id_mae_ter" value
 * @method timestamp   getFechaProc()         Returns the current record's "fecha_proc" value
 * @method timestamp   getFechaDoc()          Returns the current record's "fecha_doc" value
 * @method integer     getTipoDoc()           Returns the current record's "tipo_doc" value
 * @method string      getNumeroDoc()         Returns the current record's "numero_doc" value
 * @method string      getAdjunto()           Returns the current record's "adjunto" value
 * @method decimal     getValor()             Returns the current record's "valor" value
 * @method decimal     getAplicaValor()       Returns the current record's "aplica_valor" value
 * @method decimal     getAplicaPorcentaje()  Returns the current record's "aplica_porcentaje" value
 * @method integer     getEstado()            Returns the current record's "estado" value
 * @method string      getObservaciones()     Returns the current record's "observaciones" value
 * @method integer     getIdMaeTerAcree()     Returns the current record's "id_mae_ter_acree" value
 * @method RE_DES_PAGO setIdDesPago()         Sets the current record's "id_des_pago" value
 * @method RE_DES_PAGO setIdClaDespago()      Sets the current record's "id_cla_despago" value
 * @method RE_DES_PAGO setIdMaeTer()          Sets the current record's "id_mae_ter" value
 * @method RE_DES_PAGO setFechaProc()         Sets the current record's "fecha_proc" value
 * @method RE_DES_PAGO setFechaDoc()          Sets the current record's "fecha_doc" value
 * @method RE_DES_PAGO setTipoDoc()           Sets the current record's "tipo_doc" value
 * @method RE_DES_PAGO setNumeroDoc()         Sets the current record's "numero_doc" value
 * @method RE_DES_PAGO setAdjunto()           Sets the current record's "adjunto" value
 * @method RE_DES_PAGO setValor()             Sets the current record's "valor" value
 * @method RE_DES_PAGO setAplicaValor()       Sets the current record's "aplica_valor" value
 * @method RE_DES_PAGO setAplicaPorcentaje()  Sets the current record's "aplica_porcentaje" value
 * @method RE_DES_PAGO setEstado()            Sets the current record's "estado" value
 * @method RE_DES_PAGO setObservaciones()     Sets the current record's "observaciones" value
 * @method RE_DES_PAGO setIdMaeTerAcree()     Sets the current record's "id_mae_ter_acree" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseRE_DES_PAGO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RE_DES_PAGO');
        $this->hasColumn('id_des_pago', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_cla_despago', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_mae_ter', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_proc', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_doc', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('tipo_doc', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('numero_doc', 'string', 64, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 64,
             ));
        $this->hasColumn('adjunto', 'string', 128, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 128,
             ));
        $this->hasColumn('valor', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('aplica_valor', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('aplica_porcentaje', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('observaciones', 'string', 512, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 512,
             ));
        $this->hasColumn('id_mae_ter_acree', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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