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

/**
 * BaseRE_OBL_DETALLE
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_obligacion
 * @property integer $id_distribucion
 * @property integer $secuencia
 * @property integer $id_tipo_beneficiario
 * @property decimal $valor_bruto
 * @property decimal $valor_dto
 * @property decimal $valor_gravamen
 * @property decimal $valor_girar
 * @property integer $id_descto
 * @property integer $id_mae_ter
 * @property integer $pago
 * @property integer $id_des_pago
 * @property timestamp $fecha_aplica
 * @property integer $resul_giro
 * @property string $observaciones
 * @property integer $estado
 * @property timestamp $fecha_anu
 * @property string $motivo_anu
 * @property integer $id_usuario_anu
 * 
 * @method integer        getIdObligacion()         Returns the current record's "id_obligacion" value
 * @method integer        getIdDistribucion()       Returns the current record's "id_distribucion" value
 * @method integer        getSecuencia()            Returns the current record's "secuencia" value
 * @method integer        getIdTipoBeneficiario()   Returns the current record's "id_tipo_beneficiario" value
 * @method decimal        getValorBruto()           Returns the current record's "valor_bruto" value
 * @method decimal        getValorDto()             Returns the current record's "valor_dto" value
 * @method decimal        getValorGravamen()        Returns the current record's "valor_gravamen" value
 * @method decimal        getValorGirar()           Returns the current record's "valor_girar" value
 * @method integer        getIdDescto()             Returns the current record's "id_descto" value
 * @method integer        getIdMaeTer()             Returns the current record's "id_mae_ter" value
 * @method integer        getPago()                 Returns the current record's "pago" value
 * @method integer        getIdDesPago()            Returns the current record's "id_des_pago" value
 * @method timestamp      getFechaAplica()          Returns the current record's "fecha_aplica" value
 * @method integer        getResulGiro()            Returns the current record's "resul_giro" value
 * @method string         getObservaciones()        Returns the current record's "observaciones" value
 * @method integer        getEstado()               Returns the current record's "estado" value
 * @method timestamp      getFechaAnu()             Returns the current record's "fecha_anu" value
 * @method string         getMotivoAnu()            Returns the current record's "motivo_anu" value
 * @method integer        getIdUsuarioAnu()         Returns the current record's "id_usuario_anu" value
 * @method RE_OBL_DETALLE setIdObligacion()         Sets the current record's "id_obligacion" value
 * @method RE_OBL_DETALLE setIdDistribucion()       Sets the current record's "id_distribucion" value
 * @method RE_OBL_DETALLE setSecuencia()            Sets the current record's "secuencia" value
 * @method RE_OBL_DETALLE setIdTipoBeneficiario()   Sets the current record's "id_tipo_beneficiario" value
 * @method RE_OBL_DETALLE setValorBruto()           Sets the current record's "valor_bruto" value
 * @method RE_OBL_DETALLE setValorDto()             Sets the current record's "valor_dto" value
 * @method RE_OBL_DETALLE setValorGravamen()        Sets the current record's "valor_gravamen" value
 * @method RE_OBL_DETALLE setValorGirar()           Sets the current record's "valor_girar" value
 * @method RE_OBL_DETALLE setIdDescto()             Sets the current record's "id_descto" value
 * @method RE_OBL_DETALLE setIdMaeTer()             Sets the current record's "id_mae_ter" value
 * @method RE_OBL_DETALLE setPago()                 Sets the current record's "pago" value
 * @method RE_OBL_DETALLE setIdDesPago()            Sets the current record's "id_des_pago" value
 * @method RE_OBL_DETALLE setFechaAplica()          Sets the current record's "fecha_aplica" value
 * @method RE_OBL_DETALLE setResulGiro()            Sets the current record's "resul_giro" value
 * @method RE_OBL_DETALLE setObservaciones()        Sets the current record's "observaciones" value
 * @method RE_OBL_DETALLE setEstado()               Sets the current record's "estado" value
 * @method RE_OBL_DETALLE setFechaAnu()             Sets the current record's "fecha_anu" value
 * @method RE_OBL_DETALLE setMotivoAnu()            Sets the current record's "motivo_anu" value
 * @method RE_OBL_DETALLE setIdUsuarioAnu()         Sets the current record's "id_usuario_anu" 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_OBL_DETALLE extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RE_OBL_DETALLE');
        $this->hasColumn('id_obligacion', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_distribucion', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('secuencia', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_tipo_beneficiario', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor_bruto', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('valor_dto', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('valor_gravamen', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('valor_girar', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('id_descto', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_mae_ter', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('pago', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_des_pago', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_aplica', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('resul_giro', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => 'NULL',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('observaciones', 'string', 300, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 300,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('fecha_anu', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('motivo_anu', 'string', 256, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 256,
             ));
        $this->hasColumn('id_usuario_anu', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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