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

/**
 * BaseTMP8505_EXT
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_distribucion
 * @property timestamp $fecha_crea
 * @property string $cod_mineral
 * @property string $descripcion_mine
 * @property string $cod_periodo
 * @property string $descripcion_per
 * @property integer $vigencia
 * @property integer $cod_tipo_con
 * @property string $descripcion_tipcon
 * @property integer $id_obligacion
 * @property integer $secuencia
 * @property timestamp $fecha_crea_obl
 * @property string $abreviatura
 * @property string $num_doc_deta
 * @property string $benef_deta
 * @property string $coddepto
 * @property string $desdepto
 * @property integer $valor_bruto
 * @property integer $valor_dto
 * @property integer $valor_neto
 * @property integer $valor_girar
 * @property integer $valor_gravamen
 * @property string $observaciones
 * @property string $lote_pago
 * @property integer $num_pago
 * @property timestamp $fecha_pago
 * @property integer $nit_ach
 * @property integer $sec_ach
 * @property string $banco
 * @property string $cuenta
 * @property string $tipcue
 * @property string $num_doc_obl
 * @property string $benef_obl
 * @property string $codmun
 * @property string $autorizado
 * @property string $cod_liq
 * @property string $descripcion_liq
 * @property string $codigo
 * @property string $descripcion
 * @property string $numero_cuenta
 * @property string $banco_pago
 * @property string $cuenta_pago
 * @property string $cod_descto
 * @property string $descripcion_det
 * @property string $placa_rmn
 * @property string $titular
 * @property integer $id_transfer
 * @property integer $valor_produccion
 * @property string $unidad_medida
 * 
 * @method integer     getId()                 Returns the current record's "id" value
 * @method integer     getIdDistribucion()     Returns the current record's "id_distribucion" value
 * @method timestamp   getFechaCrea()          Returns the current record's "fecha_crea" value
 * @method string      getCodMineral()         Returns the current record's "cod_mineral" value
 * @method string      getDescripcionMine()    Returns the current record's "descripcion_mine" value
 * @method string      getCodPeriodo()         Returns the current record's "cod_periodo" value
 * @method string      getDescripcionPer()     Returns the current record's "descripcion_per" value
 * @method integer     getVigencia()           Returns the current record's "vigencia" value
 * @method integer     getCodTipoCon()         Returns the current record's "cod_tipo_con" value
 * @method string      getDescripcionTipcon()  Returns the current record's "descripcion_tipcon" value
 * @method integer     getIdObligacion()       Returns the current record's "id_obligacion" value
 * @method integer     getSecuencia()          Returns the current record's "secuencia" value
 * @method timestamp   getFechaCreaObl()       Returns the current record's "fecha_crea_obl" value
 * @method string      getAbreviatura()        Returns the current record's "abreviatura" value
 * @method string      getNumDocDeta()         Returns the current record's "num_doc_deta" value
 * @method string      getBenefDeta()          Returns the current record's "benef_deta" value
 * @method string      getCoddepto()           Returns the current record's "coddepto" value
 * @method string      getDesdepto()           Returns the current record's "desdepto" value
 * @method integer     getValorBruto()         Returns the current record's "valor_bruto" value
 * @method integer     getValorDto()           Returns the current record's "valor_dto" value
 * @method integer     getValorNeto()          Returns the current record's "valor_neto" value
 * @method integer     getValorGirar()         Returns the current record's "valor_girar" value
 * @method integer     getValorGravamen()      Returns the current record's "valor_gravamen" value
 * @method string      getObservaciones()      Returns the current record's "observaciones" value
 * @method string      getLotePago()           Returns the current record's "lote_pago" value
 * @method integer     getNumPago()            Returns the current record's "num_pago" value
 * @method timestamp   getFechaPago()          Returns the current record's "fecha_pago" value
 * @method integer     getNitAch()             Returns the current record's "nit_ach" value
 * @method integer     getSecAch()             Returns the current record's "sec_ach" value
 * @method string      getBanco()              Returns the current record's "banco" value
 * @method string      getCuenta()             Returns the current record's "cuenta" value
 * @method string      getTipcue()             Returns the current record's "tipcue" value
 * @method string      getNumDocObl()          Returns the current record's "num_doc_obl" value
 * @method string      getBenefObl()           Returns the current record's "benef_obl" value
 * @method string      getCodmun()             Returns the current record's "codmun" value
 * @method string      getAutorizado()         Returns the current record's "autorizado" value
 * @method string      getCodLiq()             Returns the current record's "cod_liq" value
 * @method string      getDescripcionLiq()     Returns the current record's "descripcion_liq" value
 * @method string      getCodigo()             Returns the current record's "codigo" value
 * @method string      getDescripcion()        Returns the current record's "descripcion" value
 * @method string      getNumeroCuenta()       Returns the current record's "numero_cuenta" value
 * @method string      getBancoPago()          Returns the current record's "banco_pago" value
 * @method string      getCuentaPago()         Returns the current record's "cuenta_pago" value
 * @method string      getCodDescto()          Returns the current record's "cod_descto" value
 * @method string      getDescripcionDet()     Returns the current record's "descripcion_det" value
 * @method string      getPlacaRmn()           Returns the current record's "placa_rmn" value
 * @method string      getTitular()            Returns the current record's "titular" value
 * @method integer     getIdTransfer()         Returns the current record's "id_transfer" value
 * @method integer     getValorProduccion()    Returns the current record's "valor_produccion" value
 * @method string      getUnidadMedida()       Returns the current record's "unidad_medida" value
 * @method TMP8505_EXT setId()                 Sets the current record's "id" value
 * @method TMP8505_EXT setIdDistribucion()     Sets the current record's "id_distribucion" value
 * @method TMP8505_EXT setFechaCrea()          Sets the current record's "fecha_crea" value
 * @method TMP8505_EXT setCodMineral()         Sets the current record's "cod_mineral" value
 * @method TMP8505_EXT setDescripcionMine()    Sets the current record's "descripcion_mine" value
 * @method TMP8505_EXT setCodPeriodo()         Sets the current record's "cod_periodo" value
 * @method TMP8505_EXT setDescripcionPer()     Sets the current record's "descripcion_per" value
 * @method TMP8505_EXT setVigencia()           Sets the current record's "vigencia" value
 * @method TMP8505_EXT setCodTipoCon()         Sets the current record's "cod_tipo_con" value
 * @method TMP8505_EXT setDescripcionTipcon()  Sets the current record's "descripcion_tipcon" value
 * @method TMP8505_EXT setIdObligacion()       Sets the current record's "id_obligacion" value
 * @method TMP8505_EXT setSecuencia()          Sets the current record's "secuencia" value
 * @method TMP8505_EXT setFechaCreaObl()       Sets the current record's "fecha_crea_obl" value
 * @method TMP8505_EXT setAbreviatura()        Sets the current record's "abreviatura" value
 * @method TMP8505_EXT setNumDocDeta()         Sets the current record's "num_doc_deta" value
 * @method TMP8505_EXT setBenefDeta()          Sets the current record's "benef_deta" value
 * @method TMP8505_EXT setCoddepto()           Sets the current record's "coddepto" value
 * @method TMP8505_EXT setDesdepto()           Sets the current record's "desdepto" value
 * @method TMP8505_EXT setValorBruto()         Sets the current record's "valor_bruto" value
 * @method TMP8505_EXT setValorDto()           Sets the current record's "valor_dto" value
 * @method TMP8505_EXT setValorNeto()          Sets the current record's "valor_neto" value
 * @method TMP8505_EXT setValorGirar()         Sets the current record's "valor_girar" value
 * @method TMP8505_EXT setValorGravamen()      Sets the current record's "valor_gravamen" value
 * @method TMP8505_EXT setObservaciones()      Sets the current record's "observaciones" value
 * @method TMP8505_EXT setLotePago()           Sets the current record's "lote_pago" value
 * @method TMP8505_EXT setNumPago()            Sets the current record's "num_pago" value
 * @method TMP8505_EXT setFechaPago()          Sets the current record's "fecha_pago" value
 * @method TMP8505_EXT setNitAch()             Sets the current record's "nit_ach" value
 * @method TMP8505_EXT setSecAch()             Sets the current record's "sec_ach" value
 * @method TMP8505_EXT setBanco()              Sets the current record's "banco" value
 * @method TMP8505_EXT setCuenta()             Sets the current record's "cuenta" value
 * @method TMP8505_EXT setTipcue()             Sets the current record's "tipcue" value
 * @method TMP8505_EXT setNumDocObl()          Sets the current record's "num_doc_obl" value
 * @method TMP8505_EXT setBenefObl()           Sets the current record's "benef_obl" value
 * @method TMP8505_EXT setCodmun()             Sets the current record's "codmun" value
 * @method TMP8505_EXT setAutorizado()         Sets the current record's "autorizado" value
 * @method TMP8505_EXT setCodLiq()             Sets the current record's "cod_liq" value
 * @method TMP8505_EXT setDescripcionLiq()     Sets the current record's "descripcion_liq" value
 * @method TMP8505_EXT setCodigo()             Sets the current record's "codigo" value
 * @method TMP8505_EXT setDescripcion()        Sets the current record's "descripcion" value
 * @method TMP8505_EXT setNumeroCuenta()       Sets the current record's "numero_cuenta" value
 * @method TMP8505_EXT setBancoPago()          Sets the current record's "banco_pago" value
 * @method TMP8505_EXT setCuentaPago()         Sets the current record's "cuenta_pago" value
 * @method TMP8505_EXT setCodDescto()          Sets the current record's "cod_descto" value
 * @method TMP8505_EXT setDescripcionDet()     Sets the current record's "descripcion_det" value
 * @method TMP8505_EXT setPlacaRmn()           Sets the current record's "placa_rmn" value
 * @method TMP8505_EXT setTitular()            Sets the current record's "titular" value
 * @method TMP8505_EXT setIdTransfer()         Sets the current record's "id_transfer" value
 * @method TMP8505_EXT setValorProduccion()    Sets the current record's "valor_produccion" value
 * @method TMP8505_EXT setUnidadMedida()       Sets the current record's "unidad_medida" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTMP8505_EXT extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TMP8505_EXT');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_distribucion', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_crea', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('cod_mineral', 'string', 4, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('descripcion_mine', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('cod_periodo', 'string', 4, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('descripcion_per', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('vigencia', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('cod_tipo_con', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('descripcion_tipcon', 'string', 300, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 300,
             ));
        $this->hasColumn('id_obligacion', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('secuencia', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_crea_obl', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('abreviatura', 'string', 16, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 16,
             ));
        $this->hasColumn('num_doc_deta', 'string', 128, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 128,
             ));
        $this->hasColumn('benef_deta', 'string', 128, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 128,
             ));
        $this->hasColumn('coddepto', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('desdepto', 'string', 150, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 150,
             ));
        $this->hasColumn('valor_bruto', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor_dto', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor_neto', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor_girar', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor_gravamen', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('observaciones', 'string', 300, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 300,
             ));
        $this->hasColumn('lote_pago', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_pago', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_pago', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('nit_ach', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('sec_ach', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('banco', 'string', 21, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 21,
             ));
        $this->hasColumn('cuenta', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('tipcue', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_doc_obl', 'string', 128, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 128,
             ));
        $this->hasColumn('benef_obl', 'string', 128, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 128,
             ));
        $this->hasColumn('codmun', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('autorizado', 'string', 13, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 13,
             ));
        $this->hasColumn('cod_liq', 'string', 4, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('descripcion_liq', 'string', 128, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 128,
             ));
        $this->hasColumn('codigo', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('descripcion', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('numero_cuenta', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('banco_pago', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('cuenta_pago', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('cod_descto', 'string', 4, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('descripcion_det', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('placa_rmn', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('titular', 'string', 128, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 128,
             ));
        $this->hasColumn('id_transfer', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor_produccion', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('unidad_medida', 'string', 252, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 252,
             ));
    }

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