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

/**
 * BaseCA_IMP_CREDITO_T
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_imp_credito_t
 * @property integer $id_punto_venta
 * @property integer $id_tipo_credito
 * @property integer $id_con_credito
 * @property string $identificacion
 * @property timestamp $fecha_proceso
 * @property integer $id_bn
 * @property integer $id_cb
 * @property integer $num_doc
 * @property string $oficina
 * @property integer $valor
 * @property string $observaciones_cred
 * @property timestamp $fecha_obligacion
 * @property integer $id_ts_td
 * @property string $usuariolog
 * @property integer $no_credito
 * @property integer $sec_debito
 * @property integer $id_tipo_debito
 * @property integer $id_anhos
 * @property integer $valor_bruto
 * @property integer $valor_retenciones
 * @property integer $valor_abono
 * @property integer $id_tip_mon
 * @property integer $valor_total_moneda
 * @property string $observaciones
 * @property integer $id_credito
 * @property integer $id_credito_detalle
 * @property integer $id_vencimiento
 * 
 * @method integer          getId()                 Returns the current record's "id" value
 * @method integer          getIdImpCreditoT()      Returns the current record's "id_imp_credito_t" value
 * @method integer          getIdPuntoVenta()       Returns the current record's "id_punto_venta" value
 * @method integer          getIdTipoCredito()      Returns the current record's "id_tipo_credito" value
 * @method integer          getIdConCredito()       Returns the current record's "id_con_credito" value
 * @method string           getIdentificacion()     Returns the current record's "identificacion" value
 * @method timestamp        getFechaProceso()       Returns the current record's "fecha_proceso" value
 * @method integer          getIdBn()               Returns the current record's "id_bn" value
 * @method integer          getIdCb()               Returns the current record's "id_cb" value
 * @method integer          getNumDoc()             Returns the current record's "num_doc" value
 * @method string           getOficina()            Returns the current record's "oficina" value
 * @method integer          getValor()              Returns the current record's "valor" value
 * @method string           getObservacionesCred()  Returns the current record's "observaciones_cred" value
 * @method timestamp        getFechaObligacion()    Returns the current record's "fecha_obligacion" value
 * @method integer          getIdTsTd()             Returns the current record's "id_ts_td" value
 * @method string           getUsuariolog()         Returns the current record's "usuariolog" value
 * @method integer          getNoCredito()          Returns the current record's "no_credito" value
 * @method integer          getSecDebito()          Returns the current record's "sec_debito" value
 * @method integer          getIdTipoDebito()       Returns the current record's "id_tipo_debito" value
 * @method integer          getIdAnhos()            Returns the current record's "id_anhos" value
 * @method integer          getValorBruto()         Returns the current record's "valor_bruto" value
 * @method integer          getValorRetenciones()   Returns the current record's "valor_retenciones" value
 * @method integer          getValorAbono()         Returns the current record's "valor_abono" value
 * @method integer          getIdTipMon()           Returns the current record's "id_tip_mon" value
 * @method integer          getValorTotalMoneda()   Returns the current record's "valor_total_moneda" value
 * @method string           getObservaciones()      Returns the current record's "observaciones" value
 * @method integer          getIdCredito()          Returns the current record's "id_credito" value
 * @method integer          getIdCreditoDetalle()   Returns the current record's "id_credito_detalle" value
 * @method integer          getIdVencimiento()      Returns the current record's "id_vencimiento" value
 * @method CA_IMP_CREDITO_T setId()                 Sets the current record's "id" value
 * @method CA_IMP_CREDITO_T setIdImpCreditoT()      Sets the current record's "id_imp_credito_t" value
 * @method CA_IMP_CREDITO_T setIdPuntoVenta()       Sets the current record's "id_punto_venta" value
 * @method CA_IMP_CREDITO_T setIdTipoCredito()      Sets the current record's "id_tipo_credito" value
 * @method CA_IMP_CREDITO_T setIdConCredito()       Sets the current record's "id_con_credito" value
 * @method CA_IMP_CREDITO_T setIdentificacion()     Sets the current record's "identificacion" value
 * @method CA_IMP_CREDITO_T setFechaProceso()       Sets the current record's "fecha_proceso" value
 * @method CA_IMP_CREDITO_T setIdBn()               Sets the current record's "id_bn" value
 * @method CA_IMP_CREDITO_T setIdCb()               Sets the current record's "id_cb" value
 * @method CA_IMP_CREDITO_T setNumDoc()             Sets the current record's "num_doc" value
 * @method CA_IMP_CREDITO_T setOficina()            Sets the current record's "oficina" value
 * @method CA_IMP_CREDITO_T setValor()              Sets the current record's "valor" value
 * @method CA_IMP_CREDITO_T setObservacionesCred()  Sets the current record's "observaciones_cred" value
 * @method CA_IMP_CREDITO_T setFechaObligacion()    Sets the current record's "fecha_obligacion" value
 * @method CA_IMP_CREDITO_T setIdTsTd()             Sets the current record's "id_ts_td" value
 * @method CA_IMP_CREDITO_T setUsuariolog()         Sets the current record's "usuariolog" value
 * @method CA_IMP_CREDITO_T setNoCredito()          Sets the current record's "no_credito" value
 * @method CA_IMP_CREDITO_T setSecDebito()          Sets the current record's "sec_debito" value
 * @method CA_IMP_CREDITO_T setIdTipoDebito()       Sets the current record's "id_tipo_debito" value
 * @method CA_IMP_CREDITO_T setIdAnhos()            Sets the current record's "id_anhos" value
 * @method CA_IMP_CREDITO_T setValorBruto()         Sets the current record's "valor_bruto" value
 * @method CA_IMP_CREDITO_T setValorRetenciones()   Sets the current record's "valor_retenciones" value
 * @method CA_IMP_CREDITO_T setValorAbono()         Sets the current record's "valor_abono" value
 * @method CA_IMP_CREDITO_T setIdTipMon()           Sets the current record's "id_tip_mon" value
 * @method CA_IMP_CREDITO_T setValorTotalMoneda()   Sets the current record's "valor_total_moneda" value
 * @method CA_IMP_CREDITO_T setObservaciones()      Sets the current record's "observaciones" value
 * @method CA_IMP_CREDITO_T setIdCredito()          Sets the current record's "id_credito" value
 * @method CA_IMP_CREDITO_T setIdCreditoDetalle()   Sets the current record's "id_credito_detalle" value
 * @method CA_IMP_CREDITO_T setIdVencimiento()      Sets the current record's "id_vencimiento" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCA_IMP_CREDITO_T extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_IMP_CREDITO_T');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_imp_credito_t', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_punto_venta', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_tipo_credito', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_con_credito', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('identificacion', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_proceso', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_bn', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_cb', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('num_doc', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('oficina', 'string', 45, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 45,
             ));
        $this->hasColumn('valor', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('observaciones_cred', 'string', 257, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 257,
             ));
        $this->hasColumn('fecha_obligacion', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_ts_td', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('usuariolog', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('no_credito', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('sec_debito', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_tipo_debito', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_anhos', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor_bruto', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor_retenciones', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor_abono', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_tip_mon', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor_total_moneda', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('observaciones', 'string', 4000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4000,
             ));
        $this->hasColumn('id_credito', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_credito_detalle', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_vencimiento', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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