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

/**
 * BaseCA_IMP_FACTURA_T
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_imp_factura_t
 * @property string $num_doc
 * @property timestamp $fecha_doc
 * @property string $identificacion
 * @property string $razon_soc
 * @property integer $valor
 * @property timestamp $fecha_facturacion
 * @property string $direccion
 * @property string $telefono
 * @property string $ciudad
 * @property string $oficina
 * @property string $banco
 * @property string $observaciones
 * @property integer $id_mae_ter
 * @property integer $estado
 * @property string $email
 * @property string $producto
 * @property integer $id_factura
 * @property integer $id_punto_venta
 * @property integer $sec_factura
 * @property integer $cantidad
 * 
 * @method integer          getIdImpFacturaT()     Returns the current record's "id_imp_factura_t" value
 * @method string           getNumDoc()            Returns the current record's "num_doc" value
 * @method timestamp        getFechaDoc()          Returns the current record's "fecha_doc" value
 * @method string           getIdentificacion()    Returns the current record's "identificacion" value
 * @method string           getRazonSoc()          Returns the current record's "razon_soc" value
 * @method integer          getValor()             Returns the current record's "valor" value
 * @method timestamp        getFechaFacturacion()  Returns the current record's "fecha_facturacion" value
 * @method string           getDireccion()         Returns the current record's "direccion" value
 * @method string           getTelefono()          Returns the current record's "telefono" value
 * @method string           getCiudad()            Returns the current record's "ciudad" value
 * @method string           getOficina()           Returns the current record's "oficina" value
 * @method string           getBanco()             Returns the current record's "banco" value
 * @method string           getObservaciones()     Returns the current record's "observaciones" value
 * @method integer          getIdMaeTer()          Returns the current record's "id_mae_ter" value
 * @method integer          getEstado()            Returns the current record's "estado" value
 * @method string           getEmail()             Returns the current record's "email" value
 * @method string           getProducto()          Returns the current record's "producto" value
 * @method integer          getIdFactura()         Returns the current record's "id_factura" value
 * @method integer          getIdPuntoVenta()      Returns the current record's "id_punto_venta" value
 * @method integer          getSecFactura()        Returns the current record's "sec_factura" value
 * @method integer          getCantidad()          Returns the current record's "cantidad" value
 * @method CA_IMP_FACTURA_T setIdImpFacturaT()     Sets the current record's "id_imp_factura_t" value
 * @method CA_IMP_FACTURA_T setNumDoc()            Sets the current record's "num_doc" value
 * @method CA_IMP_FACTURA_T setFechaDoc()          Sets the current record's "fecha_doc" value
 * @method CA_IMP_FACTURA_T setIdentificacion()    Sets the current record's "identificacion" value
 * @method CA_IMP_FACTURA_T setRazonSoc()          Sets the current record's "razon_soc" value
 * @method CA_IMP_FACTURA_T setValor()             Sets the current record's "valor" value
 * @method CA_IMP_FACTURA_T setFechaFacturacion()  Sets the current record's "fecha_facturacion" value
 * @method CA_IMP_FACTURA_T setDireccion()         Sets the current record's "direccion" value
 * @method CA_IMP_FACTURA_T setTelefono()          Sets the current record's "telefono" value
 * @method CA_IMP_FACTURA_T setCiudad()            Sets the current record's "ciudad" value
 * @method CA_IMP_FACTURA_T setOficina()           Sets the current record's "oficina" value
 * @method CA_IMP_FACTURA_T setBanco()             Sets the current record's "banco" value
 * @method CA_IMP_FACTURA_T setObservaciones()     Sets the current record's "observaciones" value
 * @method CA_IMP_FACTURA_T setIdMaeTer()          Sets the current record's "id_mae_ter" value
 * @method CA_IMP_FACTURA_T setEstado()            Sets the current record's "estado" value
 * @method CA_IMP_FACTURA_T setEmail()             Sets the current record's "email" value
 * @method CA_IMP_FACTURA_T setProducto()          Sets the current record's "producto" value
 * @method CA_IMP_FACTURA_T setIdFactura()         Sets the current record's "id_factura" value
 * @method CA_IMP_FACTURA_T setIdPuntoVenta()      Sets the current record's "id_punto_venta" value
 * @method CA_IMP_FACTURA_T setSecFactura()        Sets the current record's "sec_factura" value
 * @method CA_IMP_FACTURA_T setCantidad()          Sets the current record's "cantidad" value
 * 
 * @package    controlComisiones
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCA_IMP_FACTURA_T extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_IMP_FACTURA_T');
        $this->hasColumn('id_imp_factura_t', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('num_doc', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('fecha_doc', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('identificacion', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('razon_soc', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('valor', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_facturacion', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('direccion', 'string', 2500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2500,
             ));
        $this->hasColumn('telefono', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('ciudad', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('oficina', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('banco', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('observaciones', 'string', 500, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('id_mae_ter', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('email', 'string', 60, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 60,
             ));
        $this->hasColumn('producto', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_factura', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_punto_venta', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('sec_factura', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('cantidad', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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