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

/**
 * BaseCA_LOG_CREDITO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_log_credito
 * @property integer $id_anhos
 * @property integer $id_punto_venta
 * @property integer $id_tipo_credito
 * @property integer $id_con_credito
 * @property integer $id_mae_ter
 * @property timestamp $fecha_credito
 * @property integer $id_bn
 * @property integer $id_cb
 * @property integer $num_doc
 * @property string $oficina
 * @property decimal $valor
 * @property string $observaciones
 * @property integer $id_ts_td
 * @property timestamp $fecha_proceso
 * @property string $usuariolog
 * @property string $id_debito_var
 * @property integer $termino_proceso
 * 
 * @method integer        getId()              Returns the current record's "id" value
 * @method integer        getIdLogCredito()    Returns the current record's "id_log_credito" value
 * @method integer        getIdAnhos()         Returns the current record's "id_anhos" 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 integer        getIdMaeTer()        Returns the current record's "id_mae_ter" value
 * @method timestamp      getFechaCredito()    Returns the current record's "fecha_credito" 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 decimal        getValor()           Returns the current record's "valor" value
 * @method string         getObservaciones()   Returns the current record's "observaciones" value
 * @method integer        getIdTsTd()          Returns the current record's "id_ts_td" value
 * @method timestamp      getFechaProceso()    Returns the current record's "fecha_proceso" value
 * @method string         getUsuariolog()      Returns the current record's "usuariolog" value
 * @method string         getIdDebitoVar()     Returns the current record's "id_debito_var" value
 * @method integer        getTerminoProceso()  Returns the current record's "termino_proceso" value
 * @method CA_LOG_CREDITO setId()              Sets the current record's "id" value
 * @method CA_LOG_CREDITO setIdLogCredito()    Sets the current record's "id_log_credito" value
 * @method CA_LOG_CREDITO setIdAnhos()         Sets the current record's "id_anhos" value
 * @method CA_LOG_CREDITO setIdPuntoVenta()    Sets the current record's "id_punto_venta" value
 * @method CA_LOG_CREDITO setIdTipoCredito()   Sets the current record's "id_tipo_credito" value
 * @method CA_LOG_CREDITO setIdConCredito()    Sets the current record's "id_con_credito" value
 * @method CA_LOG_CREDITO setIdMaeTer()        Sets the current record's "id_mae_ter" value
 * @method CA_LOG_CREDITO setFechaCredito()    Sets the current record's "fecha_credito" value
 * @method CA_LOG_CREDITO setIdBn()            Sets the current record's "id_bn" value
 * @method CA_LOG_CREDITO setIdCb()            Sets the current record's "id_cb" value
 * @method CA_LOG_CREDITO setNumDoc()          Sets the current record's "num_doc" value
 * @method CA_LOG_CREDITO setOficina()         Sets the current record's "oficina" value
 * @method CA_LOG_CREDITO setValor()           Sets the current record's "valor" value
 * @method CA_LOG_CREDITO setObservaciones()   Sets the current record's "observaciones" value
 * @method CA_LOG_CREDITO setIdTsTd()          Sets the current record's "id_ts_td" value
 * @method CA_LOG_CREDITO setFechaProceso()    Sets the current record's "fecha_proceso" value
 * @method CA_LOG_CREDITO setUsuariolog()      Sets the current record's "usuariolog" value
 * @method CA_LOG_CREDITO setIdDebitoVar()     Sets the current record's "id_debito_var" value
 * @method CA_LOG_CREDITO setTerminoProceso()  Sets the current record's "termino_proceso" 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_LOG_CREDITO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_LOG_CREDITO');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_log_credito', '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('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('id_mae_ter', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_credito', 'timestamp', 7, array(
             'notnull' => false,
             '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', 'decimal', 18, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('observaciones', 'string', 257, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 257,
             ));
        $this->hasColumn('id_ts_td', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_proceso', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('usuariolog', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_debito_var', 'string', 512, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 512,
             ));
        $this->hasColumn('termino_proceso', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 1,
             ));
    }

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