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

/**
 * BaseCA_LOG_FACTURA_ERRORES
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_log_factura_errores
 * @property string $num_doc
 * @property integer $valor_total
 * @property integer $id_producto
 * @property integer $cantidad
 * @property integer $id_ts_pc_fp
 * @property string $num_doc_sop
 * @property timestamp $fecha_doc_sop
 * @property timestamp $fecha_log
 * @property string $usuario_log
 * @property string $motivo_error
 * 
 * @method integer                getIdLogFacturaErrores()    Returns the current record's "id_log_factura_errores" value
 * @method string                 getNumDoc()                 Returns the current record's "num_doc" value
 * @method integer                getValorTotal()             Returns the current record's "valor_total" value
 * @method integer                getIdProducto()             Returns the current record's "id_producto" value
 * @method integer                getCantidad()               Returns the current record's "cantidad" value
 * @method integer                getIdTsPcFp()               Returns the current record's "id_ts_pc_fp" value
 * @method string                 getNumDocSop()              Returns the current record's "num_doc_sop" value
 * @method timestamp              getFechaDocSop()            Returns the current record's "fecha_doc_sop" value
 * @method timestamp              getFechaLog()               Returns the current record's "fecha_log" value
 * @method string                 getUsuarioLog()             Returns the current record's "usuario_log" value
 * @method string                 getMotivoError()            Returns the current record's "motivo_error" value
 * @method CA_LOG_FACTURA_ERRORES setIdLogFacturaErrores()    Sets the current record's "id_log_factura_errores" value
 * @method CA_LOG_FACTURA_ERRORES setNumDoc()                 Sets the current record's "num_doc" value
 * @method CA_LOG_FACTURA_ERRORES setValorTotal()             Sets the current record's "valor_total" value
 * @method CA_LOG_FACTURA_ERRORES setIdProducto()             Sets the current record's "id_producto" value
 * @method CA_LOG_FACTURA_ERRORES setCantidad()               Sets the current record's "cantidad" value
 * @method CA_LOG_FACTURA_ERRORES setIdTsPcFp()               Sets the current record's "id_ts_pc_fp" value
 * @method CA_LOG_FACTURA_ERRORES setNumDocSop()              Sets the current record's "num_doc_sop" value
 * @method CA_LOG_FACTURA_ERRORES setFechaDocSop()            Sets the current record's "fecha_doc_sop" value
 * @method CA_LOG_FACTURA_ERRORES setFechaLog()               Sets the current record's "fecha_log" value
 * @method CA_LOG_FACTURA_ERRORES setUsuarioLog()             Sets the current record's "usuario_log" value
 * @method CA_LOG_FACTURA_ERRORES setMotivoError()            Sets the current record's "motivo_error" 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_FACTURA_ERRORES extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_LOG_FACTURA_ERRORES');
        $this->hasColumn('id_log_factura_errores', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('num_doc', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_total', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_producto', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('cantidad', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_ts_pc_fp', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('num_doc_sop', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_doc_sop', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_log', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('usuario_log', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('motivo_error', 'string', 4000, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4000,
             ));
    }

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