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

/**
 * BaseIN_COTIZACION
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_cotizacion
 * @property integer $id_cen_op
 * @property integer $id_vigencia
 * @property integer $id_soli_compra
 * @property integer $id_mae_ter
 * @property timestamp $fecha_cotizacion
 * @property integer $dias_validez
 * @property timestamp $fecha_vence
 * @property integer $id_tip_mon
 * @property integer $garantia
 * @property integer $id_periodo_garantia
 * @property integer $id_periodo_entrega
 * @property decimal $descuento
 * @property decimal $valor_iva
 * @property string $sitio_entrega
 * @property string $forma_pago
 * @property string $observaciones
 * @property integer $estado
 * @property integer $anulado
 * @property timestamp $fecha_anu
 * @property string $motivo_anu
 * @property integer $id_usuario_anu
 * @property decimal $valor_total
 * @property integer $entrega
 * @property decimal $valor_neto
 * 
 * @method integer       getIdCotizacion()        Returns the current record's "id_cotizacion" value
 * @method integer       getIdCenOp()             Returns the current record's "id_cen_op" value
 * @method integer       getIdVigencia()          Returns the current record's "id_vigencia" value
 * @method integer       getIdSoliCompra()        Returns the current record's "id_soli_compra" value
 * @method integer       getIdMaeTer()            Returns the current record's "id_mae_ter" value
 * @method timestamp     getFechaCotizacion()     Returns the current record's "fecha_cotizacion" value
 * @method integer       getDiasValidez()         Returns the current record's "dias_validez" value
 * @method timestamp     getFechaVence()          Returns the current record's "fecha_vence" value
 * @method integer       getIdTipMon()            Returns the current record's "id_tip_mon" value
 * @method integer       getGarantia()            Returns the current record's "garantia" value
 * @method integer       getIdPeriodoGarantia()   Returns the current record's "id_periodo_garantia" value
 * @method integer       getIdPeriodoEntrega()    Returns the current record's "id_periodo_entrega" value
 * @method decimal       getDescuento()           Returns the current record's "descuento" value
 * @method decimal       getValorIva()            Returns the current record's "valor_iva" value
 * @method string        getSitioEntrega()        Returns the current record's "sitio_entrega" value
 * @method string        getFormaPago()           Returns the current record's "forma_pago" value
 * @method string        getObservaciones()       Returns the current record's "observaciones" value
 * @method integer       getEstado()              Returns the current record's "estado" value
 * @method integer       getAnulado()             Returns the current record's "anulado" value
 * @method timestamp     getFechaAnu()            Returns the current record's "fecha_anu" value
 * @method string        getMotivoAnu()           Returns the current record's "motivo_anu" value
 * @method integer       getIdUsuarioAnu()        Returns the current record's "id_usuario_anu" value
 * @method decimal       getValorTotal()          Returns the current record's "valor_total" value
 * @method integer       getEntrega()             Returns the current record's "entrega" value
 * @method decimal       getValorNeto()           Returns the current record's "valor_neto" value
 * @method IN_COTIZACION setIdCotizacion()        Sets the current record's "id_cotizacion" value
 * @method IN_COTIZACION setIdCenOp()             Sets the current record's "id_cen_op" value
 * @method IN_COTIZACION setIdVigencia()          Sets the current record's "id_vigencia" value
 * @method IN_COTIZACION setIdSoliCompra()        Sets the current record's "id_soli_compra" value
 * @method IN_COTIZACION setIdMaeTer()            Sets the current record's "id_mae_ter" value
 * @method IN_COTIZACION setFechaCotizacion()     Sets the current record's "fecha_cotizacion" value
 * @method IN_COTIZACION setDiasValidez()         Sets the current record's "dias_validez" value
 * @method IN_COTIZACION setFechaVence()          Sets the current record's "fecha_vence" value
 * @method IN_COTIZACION setIdTipMon()            Sets the current record's "id_tip_mon" value
 * @method IN_COTIZACION setGarantia()            Sets the current record's "garantia" value
 * @method IN_COTIZACION setIdPeriodoGarantia()   Sets the current record's "id_periodo_garantia" value
 * @method IN_COTIZACION setIdPeriodoEntrega()    Sets the current record's "id_periodo_entrega" value
 * @method IN_COTIZACION setDescuento()           Sets the current record's "descuento" value
 * @method IN_COTIZACION setValorIva()            Sets the current record's "valor_iva" value
 * @method IN_COTIZACION setSitioEntrega()        Sets the current record's "sitio_entrega" value
 * @method IN_COTIZACION setFormaPago()           Sets the current record's "forma_pago" value
 * @method IN_COTIZACION setObservaciones()       Sets the current record's "observaciones" value
 * @method IN_COTIZACION setEstado()              Sets the current record's "estado" value
 * @method IN_COTIZACION setAnulado()             Sets the current record's "anulado" value
 * @method IN_COTIZACION setFechaAnu()            Sets the current record's "fecha_anu" value
 * @method IN_COTIZACION setMotivoAnu()           Sets the current record's "motivo_anu" value
 * @method IN_COTIZACION setIdUsuarioAnu()        Sets the current record's "id_usuario_anu" value
 * @method IN_COTIZACION setValorTotal()          Sets the current record's "valor_total" value
 * @method IN_COTIZACION setEntrega()             Sets the current record's "entrega" value
 * @method IN_COTIZACION setValorNeto()           Sets the current record's "valor_neto" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseIN_COTIZACION extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('IN_COTIZACION');
        $this->hasColumn('id_cotizacion', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_cen_op', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_vigencia', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_soli_compra', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_mae_ter', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_cotizacion', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('dias_validez', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_vence', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_tip_mon', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('garantia', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_periodo_garantia', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_periodo_entrega', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('descuento', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('valor_iva', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('sitio_entrega', 'string', 256, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 256,
             ));
        $this->hasColumn('forma_pago', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('observaciones', 'string', 512, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 512,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('anulado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('fecha_anu', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('motivo_anu', 'string', 256, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 256,
             ));
        $this->hasColumn('id_usuario_anu', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor_total', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('entrega', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor_neto', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 18,
             ));
    }

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