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

/**
 * BaseCA_LOG_CREDITO_ERRORES
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_log_credito_errores
 * @property integer $pin
 * @property integer $id_tipo_pago
 * @property integer $valor_total
 * @property string $motivo_error
 * @property timestamp $fecha_credito
 * @property timestamp $fecha_proceso
 * @property integer $id_mae_ter
 * @property string $cod_titulo
 * 
 * @method integer                getIdLogCreditoErrores()    Returns the current record's "id_log_credito_errores" value
 * @method integer                getPin()                    Returns the current record's "pin" value
 * @method integer                getIdTipoPago()             Returns the current record's "id_tipo_pago" value
 * @method integer                getValorTotal()             Returns the current record's "valor_total" value
 * @method string                 getMotivoError()            Returns the current record's "motivo_error" value
 * @method timestamp              getFechaCredito()           Returns the current record's "fecha_credito" value
 * @method timestamp              getFechaProceso()           Returns the current record's "fecha_proceso" value
 * @method integer                getIdMaeTer()               Returns the current record's "id_mae_ter" value
 * @method string                 getCodTitulo()              Returns the current record's "cod_titulo" value
 * @method CA_LOG_CREDITO_ERRORES setIdLogCreditoErrores()    Sets the current record's "id_log_credito_errores" value
 * @method CA_LOG_CREDITO_ERRORES setPin()                    Sets the current record's "pin" value
 * @method CA_LOG_CREDITO_ERRORES setIdTipoPago()             Sets the current record's "id_tipo_pago" value
 * @method CA_LOG_CREDITO_ERRORES setValorTotal()             Sets the current record's "valor_total" value
 * @method CA_LOG_CREDITO_ERRORES setMotivoError()            Sets the current record's "motivo_error" value
 * @method CA_LOG_CREDITO_ERRORES setFechaCredito()           Sets the current record's "fecha_credito" value
 * @method CA_LOG_CREDITO_ERRORES setFechaProceso()           Sets the current record's "fecha_proceso" value
 * @method CA_LOG_CREDITO_ERRORES setIdMaeTer()               Sets the current record's "id_mae_ter" value
 * @method CA_LOG_CREDITO_ERRORES setCodTitulo()              Sets the current record's "cod_titulo" 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_ERRORES extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_LOG_CREDITO_ERRORES');
        $this->hasColumn('id_log_credito_errores', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('pin', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_tipo_pago', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor_total', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('motivo_error', 'string', 1024, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1024,
             ));
        $this->hasColumn('fecha_credito', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_proceso', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'default' => 'SYSDATE',
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_mae_ter', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('cod_titulo', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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